John Shahid
6dc127bde5
add a test to make sure invalid time group by interval don't crash the server
2014-03-10 17:33:35 -04:00
John Shahid
39cec27b48
update the changelog
2014-03-10 17:30:21 -04:00
John Shahid
e5b1486a3d
Merge pull request #324 from influxdb/fix-316-access-denied-goroutine-starvation
...
Make shard hold access denied responses until all response channels are ...
2014-03-10 17:18:33 -04:00
Paul Dix
2a780d3edb
Fix #316 . Make shard hold access denied responses until all response channels are emptied out.
2014-03-10 16:52:14 -04:00
John Shahid
7ba33479ae
remove some unused constants
2014-03-10 15:45:55 -04:00
John Shahid
d70972cdd0
update the changelog
2014-03-10 14:01:27 -04:00
John Shahid
7b74e5de29
Propagate the error back and assert on the body of the response
2014-03-10 14:00:00 -04:00
John Shahid
be7137a246
Merge branch 'plumb-nqe-fail' of github.com:zorkian/influxdb
...
Conflicts:
src/cluster/shard.go
2014-03-10 12:19:11 -04:00
John Shahid
74218be735
uncomment some of the engine tests that tested invalid queries
2014-03-10 12:16:55 -04:00
John Shahid
db5ba7155d
update the changelog
2014-03-10 12:02:44 -04:00
John Shahid
dd55e2cafc
Merge pull request #301 from influxdb/ref-count-on-open-shards
...
Add ref counting to which leveldb shards are open so they can be closed ...
2014-03-10 12:00:36 -04:00
Paul Dix
afd2d8c9be
Updated ref counting to remove accessed shards from the list of ones to close. Updated the close to close as many as it takes to get below the leve
2014-03-10 11:47:57 -04:00
Paul Dix
e39508f834
Add test for max shards and fix bug in closing out old one
2014-03-10 11:47:57 -04:00
Paul Dix
2bce2837fb
Fix bug where I was deleting the shard reference before pulling out the shard to close it
2014-03-10 11:47:57 -04:00
Paul Dix
0d6e2d66ff
Add ref counting to which leveldb shards are open so they can be closed after references released
2014-03-10 11:47:57 -04:00
Mark Smith
386d3d6aaf
Allow NewQueryEngine to return an error
...
Some errors only bubble up from pretty deep. A "SELECT COUNT(*)" was
ending up as a panic, when instead it should have been returned as a
query error to the user.
This adds plumbing for returning an error from NewQueryEngine.
2014-03-09 16:41:02 -07:00
John Shahid
0e98711613
accept any request number initially
2014-03-07 18:32:12 -05:00
John Shahid
20a921eb32
panic if we ever receive commits out of order
2014-03-07 18:29:17 -05:00
John Shahid
378d185632
fix a bug introduced by my refactoring
2014-03-07 18:29:13 -05:00
John Shahid
a2f0bf82ac
flush on every write in the tests
2014-03-07 18:19:44 -05:00
John Shahid
41b776cb88
don't do this twice, 5 seconds is good enough
2014-03-07 18:19:44 -05:00
John Shahid
73648b5a6f
move the sleep outside the loop in the test
2014-03-07 18:19:44 -05:00
John Shahid
d029273f89
more logging
2014-03-07 18:19:39 -05:00
John Shahid
10b2820d9e
fix another bug in the wal, not all requests have series
2014-03-07 15:21:26 -05:00
John Shahid
564c0f1d3d
fix the broken tests, now recovery happens after server id is set
2014-03-07 15:05:53 -05:00
John Shahid
0c7542d6e4
fix #312 . WAL should wait for server id to be set before recovering
2014-03-07 14:28:31 -05:00
John Shahid
6a3b16e854
more changes to the changelog
2014-03-07 12:59:46 -05:00
John Shahid
ab430f8d6a
update changelog
2014-03-07 12:59:21 -05:00
John Shahid
8f95ce4b76
update changelog
2014-03-07 12:58:36 -05:00
John Shahid
c5633c6016
remove some whitespaces
2014-03-07 12:51:16 -05:00
John Shahid
417f035c22
wal should go in the opt directory with the rest of the data
2014-03-07 12:41:56 -05:00
John Shahid
348d5b568c
ignore more files
2014-03-07 12:06:27 -05:00
John Shahid
43b596c73d
some refactoring
2014-03-07 11:59:24 -05:00
John Shahid
4b974ba92f
fix #309 . Don't relog the delete queries
2014-03-07 11:25:33 -05:00
John Shahid
2cb3124a03
rename import
2014-03-07 11:15:18 -05:00
John Shahid
f759d37390
add a test to make sure we don't relog requests
...
the actual fix is in 1da8fef493
2014-03-06 19:31:15 -05:00
John Shahid
90566acad9
graceful shutdown
2014-03-06 19:03:15 -05:00
John Shahid
134b4c4d06
more logging
2014-03-06 18:48:58 -05:00
John Shahid
ea5f65e865
update the changelog
2014-03-06 18:14:35 -05:00
John Shahid
417c23f8d9
fix more bugs in the wal
2014-03-06 18:14:28 -05:00
John Shahid
66c0f919c9
refactor the wip and fix some bugs
2014-03-06 17:42:30 -05:00
John Shahid
d22874a834
Update CHANGELOG.md
2014-03-06 17:41:50 -05:00
John Shahid
402d7bc413
Merge pull request #308 from influxdb/fix-305-shard-ids-not-unique-after-restart
...
Fix 305 shard ids not unique after restart
2014-03-06 17:40:15 -05:00
Paul Dix
1da8fef493
fix bug where writes from the protobuf connection were incorrectly getting logged to the wal and buffered.
2014-03-06 17:31:57 -05:00
Paul Dix
a3c83b60f1
Fix #305 . Ensure that the shard id is set based on the number of current shards + 1. 305 was only occuring if a restart after a Raft log compaction happened
2014-03-06 17:07:21 -05:00
Paul Dix
58cdd6f273
Merge pull request #298 from influxdb/fix-298-limit-with-multiple-shards
...
LIMIT seems broken
2014-03-05 16:12:14 -05:00
John Shahid
f3f36e0782
fix #298 . fix limit when querying multiple shards
2014-03-05 16:11:23 -05:00
John Shahid
91dfff2ef7
prepare the changelog for a release
2014-03-03 18:07:02 -05:00
John Shahid
10596f1048
Merge pull request #292 from influxdb/fix-186-max-open-shards
...
Add option for max open shards
2014-03-03 18:04:48 -05:00
Paul Dix
a09abd4842
fix #286 . Make numbers of open shards configurable
2014-03-03 18:01:06 -05:00