From a5cb913035822989a61ade3aa0417183a5df1f6d Mon Sep 17 00:00:00 2001 From: Philip O'Toole Date: Mon, 7 Dec 2015 19:39:30 -0800 Subject: [PATCH] Drop UDP point on bad parse and keep going Fixes issue #4992. --- CHANGELOG.md | 1 + services/udp/service.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b744196617d..2b117fdfdcd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -38,6 +38,7 @@ - [#4878](https://github.com/influxdb/influxdb/pull/4878): Fix String() function for several InfluxQL statement types - [#4913](https://github.com/influxdb/influxdb/pull/4913): Fix b1 flush deadlock - [#3170](https://github.com/influxdb/influxdb/issues/3170), [#4921](https://github.com/influxdb/influxdb/pull/4921): Database does not exist error is now JSON. Thanks @pires! +- [#5029](https://github.com/influxdb/influxdb/pull/5029): Drop UDP point on bad parse. ## v0.9.5 [2015-11-20] diff --git a/services/udp/service.go b/services/udp/service.go index 26f718b1b60..1cf34068a2a 100644 --- a/services/udp/service.go +++ b/services/udp/service.go @@ -188,7 +188,7 @@ func (s *Service) parser() { if err != nil { s.statMap.Add(statPointsParseFail, 1) s.Logger.Printf("Failed to parse points: %s", err) - return + continue } for _, point := range points {