Ben Johnson
c138aaaf58
Integrating query into shards.
2014-11-06 01:03:35 -05:00
David Norton
ce0c4a54eb
Fix #1024 : cleanup files if shard creation fails
2014-11-05 20:19:08 -05:00
John Shahid
b180155ba6
run valgrind on travis
2014-11-05 18:50:17 -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
bd5bd8aa12
update travis email notification and go version
...
- Travis now notifies on failures only
- Use go 1.3.3 and 1.4beta1
- Get rid of the old hipchat notifications
2014-11-05 17:21:27 -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
Spencer Owen
3d56b53798
Replaces sudo with su in init script
...
http://stackoverflow.com/questions/8940771/switch-user-in-a-init-script
Fix #800 . Close #1017
2014-11-05 16:32:14 -05:00
runner.mei
c82046ec6b
use syslog only when running under linux or osx
...
Close #937
2014-11-05 14:13:10 -05:00
Ben Johnson
dcef4baeb1
Add bolt-backed metastore.
2014-11-05 00:32:17 -05:00
John Shahid
7d77c2593f
add some docs
2014-11-04 12:55:23 -05:00
John Shahid
d1f4f4b8e1
add #1092 to the changelog
2014-11-04 10:34:21 -05:00
Ben Johnson
922931500f
Intermediate commit.
2014-11-03 23:25:33 -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
Todd Persen
e33b072742
Update docs for OS X.
2014-11-02 21:15:09 -05:00
Ben Johnson
31f981e804
Refactoring common, cluster, and protobuf.
2014-10-31 19:31:19 -06:00
John Shahid
edd22ce3b8
Add some docs
2014-10-31 15:17:45 -04:00
John Shahid
87ef0d13e9
don't enable raft debug log by default
2014-10-31 14:50:04 -04:00
John Shahid
3a857296f4
Support joining multiple series using regex or list
2014-10-31 14:49:48 -04:00
John Shahid
c0ad5d5104
Rename some constants
...
(from_clause.go,query.yacc,query_types.h): FROM_INNER_JOIN -> FROM_JOIN
2014-10-31 14:01:17 -04: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
John Shahid
bdcaef1ded
Set the node's connection string when creating a new raft server
2014-10-31 13:54:20 -04:00
Ben Johnson
cb6c9ddc3f
Add Database.CreateShardSpace() and Database.DeleteShardSpace().
2014-10-30 17:30:34 -06:00
John Shahid
f9b3a27345
Make the raft logging configurable
2014-10-30 16:03:13 -04:00
John Shahid
60c98e519e
Remove some nonsense
2014-10-30 14:16:46 -04:00
John Shahid
3fa82ad29e
Use FINE instead of TRACE when fine logging
...
It turns out TRACE is a higher logging level than DEBUG which doesn't
make much sense and is confusing. We can use FINE to achieve the same
thing and it's descriptive and less confusing
2014-10-30 14:16:46 -04:00
Ben Johnson
bf36b2a797
Shard space JSON marshaling.
2014-10-29 18:21:17 -06: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
John Shahid
1b50c7d310
Revert "Use rocksdb in the data test suite" (info below)
...
This reverts commit 49c49d818c
.
In order to use rocksdb we need g++ >= 4.7 (which has support for
C++0x11). It's too expensive to build g++ every time. Upgrading the
ubuntu distro used by travis seems to be coming soon, I'll shelf this
for now until travis-ci/travis-ci#2046 is resolved.
2014-10-29 16:52:00 -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
899f2ba802
Add some trace logging
2014-10-29 16:31:32 -04:00
John Shahid
caba1b2d7a
add trace to the available logging levels
2014-10-29 16:31:32 -04:00
Ben Johnson
09d09a9b8f
Add cluster admin deletion and listing.
2014-10-28 19:34:12 -06:00
Ben Johnson
3ec34340a0
Add cluster admin deletion.
2014-10-28 18:43:03 -06:00
Ben Johnson
fd6f17f079
Add cluster admin creation.
2014-10-28 17:54:49 -06:00
Ben Johnson
ec0835c256
Refactor user commands.
2014-10-28 20:30:21 -06:00
John Shahid
49c49d818c
Use rocksdb in the data test suite
2014-10-28 16:19:45 -04:00
John Shahid
07ec9a82bb
Remove unused makefile vars
2014-10-28 16:19:45 -04:00
Ben Johnson
3a0e1b817c
Add database listing.
2014-10-27 18:16:03 -06:00
Ben Johnson
2722e89299
Add user listing.
2014-10-27 17:31:45 -06:00
John Shahid
9485e99796
preparing for a release
2014-10-27 18:10:41 -04:00
John Shahid
8900581e96
Use go tools to discover the packages
2014-10-27 18:08:45 -04:00
John Shahid
b70d54e500
fix a compilation error
2014-10-27 18:00:02 -04:00