Commit Graph

316 Commits (3628a9d05d2676ef5cd66781111b3c3ad26b6551)

Author SHA1 Message Date
Philip O'Toole ae4b2d4fd8 Add Loopback client support to change log 2014-11-25 13:45:36 -08:00
Ben Johnson 1c81fcf3de CHANGELOG 2014-11-19 16:50:28 -07:00
Paul Dix 0e1c4d0efb Update changelog 2014-11-18 23:29:09 -05:00
Todd Persen a0fd0cd03e Update CHANGELOG for v0.8.6 2014-11-16 00:49:32 -05:00
John Shahid 4a3a286f2e Check for valgrind and mercurial
If valgrind isn't found, `make valgrind` will be disabled. Otherwise it
will run valgrind to make sure the parser doesn't leak any memory. If
mercurial isn't found an error will be displayed and configure will
abort.

Close #978
2014-11-05 18:49:49 -05:00
John Shahid 6beed4fe54 Determine if we should use sed -i or sed -i ''
Close #671
2014-11-05 18:38:44 -05:00
John Shahid 9507b187f1 Don't emit the time condition for single point queries
Close #925
2014-11-05 18:35:44 -05:00
John Shahid b5fb4840a9 Make sure all services are stopped properly
Close #663
2014-11-05 18:14:56 -05:00
John Shahid de8836ca4f Return an appropriate exit code if the daemon exists because of errors
Currently we only return an exit code of 1 if an error occurred,
otherwise an exit code of 0 is returned.

Close #1008
2014-11-05 18:13:34 -05:00
John Shahid 1f3570536f Don't try to close the protobuf server if it's not open
Fix #584
2014-11-05 16:46:54 -05:00
John Shahid d14c14844f update the changelog 2014-11-05 16:33:42 -05:00
John Shahid d1f4f4b8e1 add #1092 to the changelog 2014-11-04 10:34:21 -05:00
John Shahid 1f5f5cb789 Don't write points if they are too old
Background of the bug: Prior to this patch we actually tried writing
points that were older than the retention period of the shard. This
caused race condition when it came to writing points to a shard that's
being dropped, which will happen frequently if the user is loading old
data (by accident). This is demonstrated in the test in this commit.This
bug was previously addressed in #985. It turns the fix for #985 wasn't
enough. A user reported in #1078 that some shards are left behind and
not deleted.

It turns out that while the shard is being dropped more write
requests could come in and end up on line `cluster/shard.go:195` which
will cause the datastore to create a shard on disk that isn't tracked
anywhere in the metadata. This shard will live forever and never get
deleted. This fix address this issue by not writing old points in, but
there are still some edge cases with the current implementation, at
least not as bad as current master.

Close #1078
2014-11-03 17:28:47 -05:00
John Shahid 63b11691eb Merge remote-tracking branch 'refs/remotes/origin/pr/973' 2014-11-03 14:06:08 -05:00
David Norton 4b59ddd113 Don't try to take 2 snapshots at a time
Fix #943. Close #1081
2014-10-31 14:00:56 -04:00
John Shahid de95dd64e5 Update the changelog for #1085 2014-10-31 13:59:55 -04:00
David Norton a428042899 Fix the timestamps set by the collectd plugin
Timestamps should be in microseconds instead of milliseconds.

Fix #1075. Close #1076
2014-10-29 18:30:17 -04:00
David Norton 9786d31db3 Add func to get str desc of Processor chain
Close #1068
2014-10-29 16:39:04 -04:00
David Norton 309934dec5 Fill even when no points exists in the given time range
Fix #996. Close #1067
2014-10-29 16:37:17 -04:00
John Shahid 9485e99796 preparing for a release 2014-10-27 18:10:41 -04:00
Todd Persen 46ded4f5c2 Fix continuous query functionality in the api
The endpoints that were used previously are now deprecated and
removed. This commit uses the query language instead of the endpoint to
provide the same set of features.

fix #1058.
2014-10-27 17:25:17 -04:00
David Norton 2808814863 Return an Inf. or NaN instead of panicing when a dividing by zero
Fix #1022. Close #1050
2014-10-27 17:08:53 -04:00
Philip O'Toole ffd9a4bc7d Allow graphite and collectd bind address to be set
Fix #1055. Close #1056
2014-10-27 17:05:14 -04:00
David Norton e27d3bbb21 Fix the timestamps of the points written by the collectd plugin
Try to use high resolution timestamp but if it's 0, fall back to
unix timestamp.

Collectd timestamps are uint64 and influxdb uses int64.  Change
to use type conversion instead of converting to string and then
parsing the string back to int64.  Also, test if the collectd
timestamp is too large for influxdb.  If it is, wrap around and
log an error message the first time but don't fill the log with
messages for every entry thereafter.

Move packet parsing code into its own function so it can be unit
tested.

Add unit tests to for packets using high resolution and unix
timestamps.

Fix #1051. Close #1054
2014-10-27 17:05:14 -04:00
Todd Persen 6eb6e6a993 Return nil when we're supposed to stop processing points.
Fix #821
2014-10-27 17:02:58 -04:00
John Shahid 6b42f1cbe1 update the changelog 2014-10-24 17:30:12 -04:00
John Shahid 94e5fdc2d2 update the changelog 2014-10-24 10:45:51 -04:00
Tom Lanyon 78e7851427 Fix collectd typo in CHANGELOG 2014-10-24 15:30:43 +10:30
John Shahid baabefd455 Add missing stories to 0.8.4-rc.1 and get rid of 0.9.0 2014-10-22 12:24:31 -04:00
John Shahid 89f226417a Oops forgot merge with regex and credits for the pr in the changelog 2014-10-21 18:34:43 -04:00
John Shahid 922c90719c Update the changelog 2014-10-21 18:26:00 -04:00
Todd Persen f16f4b6639 Querying for data outside of existing shards should return an empty response.
Fix #1004. Close #1023
2014-10-14 12:59:47 -04:00
John Shahid da4f56fbbb Don't use the same server id more than once
Fix #972
2014-10-07 18:32:14 -04:00
John Shahid f2a85f2b03 Set the ulimit in the init script with a way to override the limit
Fix #916
2014-10-07 13:27:24 -04:00
John Shahid c059ec5883 Add an install target to the Makefile
Fix #722
2014-10-07 13:27:24 -04:00
John Shahid e5c9fb7917 update the changelog 2014-10-06 17:36:37 -04:00
John Shahid 0ca44c906d Merge branch '0.8'
Conflicts:
	api/http/api.go
	cluster/cluster_configuration.go
	cluster/cluster_configuration_test.go
	coordinator/coordinator.go
	engine/aggregator_operators.go
	engine/common_merge_engine.go
	integration/data_test.go
	parser/parser.go
2014-09-24 18:55:19 -04:00
John Shahid b1a9c450b8 update changelog 2014-09-24 18:06:03 -04:00
Paul Dix ba7cf48dde Update CHANGELOG.md 2014-09-11 12:45:18 -04:00
Paul Dix 88e46b9785 Update CHANGELOG.md 2014-09-08 13:52:23 -04:00
John Shahid 3c9b39ce01 Return an error if an invalid column is used to filter after a join
Fix #652
2014-09-04 12:35:07 -04:00
John Shahid d631acd525 Merge pull request #902 from malthe/add-syslog-handler
Add support for "syslog" logging
2014-09-04 12:09:53 -04:00
Malthe Borch 8b369aed2b Add support for "syslog" logging 2014-09-03 21:41:56 +02:00
John Shahid 0229ba2e10 Update the changelog 2014-09-03 13:22:56 -04:00
John Shahid 262d116c05 Fix the changelog 2014-08-25 15:34:56 -04:00
Paul Dix 2f843af40f Update CHANGELOG.md 2014-08-22 13:45:53 -04:00
Todd Persen f50b2e31cd Add admin assets fix to CHANGELOG. 2014-08-19 14:52:46 -04:00
Paul Dix aa4f2363b0 Update CHANGELOG.md 2014-08-15 16:13:32 -04:00
Paul Dix 14ca73ef68 Update CHANGELOG.md 2014-08-15 16:11:18 -04:00
Paul Dix 3fcad1dc34 Update CHANGELOG.md 2014-08-15 16:09:42 -04:00