influxdb/services
Jason Wilder 73510a0a68 Fix invalid time stamp in graphite metric causes panic
If a timestamp was larger than the max epoch value was sent via
graphite it would cause the timestamp to overflow when it was
marshaled/unmarshaled back from the raft log.  The overflow cause
the shard group to get created with the wrong timestamp which cause
a panic when writing the point.  The panic was caused because the
timestamp that were supposed to exists in a map created by MapShards
did not actually exist so a nil ShardGroup was used.

The change prevents creating the point with an invalid timestamp.  Since
graphite using a timestamp in seconds, the maximum range is known and
can be prevented.  This also adds a check for the minimum range as well.

Fixes #3785
2015-09-08 10:07:47 -06:00
..
admin Fix typos/spacing 2015-08-13 10:02:05 -06:00
collectd fix collectd tests for float data 2015-08-25 09:14:38 -05:00
continuous_querier fix #3979: fix race in CQ service 2015-09-03 19:55:40 -04:00
copier add copier service 2015-09-03 13:07:35 -06:00
graphite Fix invalid time stamp in graphite metric causes panic 2015-09-08 10:07:47 -06:00
hh Prevent out of memory range slices from being created 2015-08-17 10:48:01 -06:00
httpd Add stats to httpd package 2015-09-04 12:37:59 -07:00
opentsdb Make log statements more consistent 2015-08-13 10:01:42 -06:00
precreator Don't precreate shard groups entirely in past 2015-09-04 08:31:50 -07:00
retention Set default retention check interval to 30 minutes 2015-08-27 16:08:03 -07:00
snapshotter silence snapshotter logger for testing 2015-08-13 20:53:40 -05:00
udp Make log statements more consistent 2015-08-13 10:01:42 -06:00