Commit Graph

1152 Commits (1967629f16431340b97c6af19000fad803393609)

Author SHA1 Message Date
John Shahid 1967629f16 more fixes for issue #341
this patch uses a channel of response channels instead of slice of
response channels to create a pipeline instead of batches. In other
words before this patch we processed shardConcurrentLimit shards first,
then processed the next shardConcurrentLimit. With this patch we
constantly have shardConcurrentLimit in the pipeline, as soon as we're
done with one shard we start querying a new shard and so on. This
provides more parallelism and cleaner design.
2014-04-03 13:44:58 -04:00
John Shahid d39646a8d6 update the changelog since leveldb upgrade didn't make it in 0.5.4 2014-04-03 11:27:21 -04:00
John Shahid 93e93fa898 update the changelog 2014-04-02 18:52:18 -04:00
John Shahid e3db954f22 fix #362. Limit should be enforced after the aggregation 2014-04-02 18:42:20 -04:00
John Shahid 7d08c0bdf3 more fixes for issue #341
We shouldn't be dropping responses anymore since the out of order
response reception isn't possible. Also fix the logic that decides
whether the shards should be queried sequentially or not. The only safe
case to do parallel querying is when we have a single time series with
aggregation over time only. Any other case is currently not safe to run
in parallel.
2014-04-02 18:16:56 -04:00
John Shahid b127201a95 fix #394. support count(distinct) and count(DISTINCT) 2014-04-02 17:46:41 -04:00
John Shahid 0f360a3178 add the leveldb upgrade to the changelog 2014-04-01 19:43:04 -04:00
John Shahid f1df3dd796 update the changelog 2014-04-01 19:14:01 -04:00
John Shahid ee0277ac44 Merge pull request #341 from influxdb/fix-341-query-memory-consumption
Querying large datasets take up large amount of memory
2014-04-01 19:13:05 -04:00
John Shahid 0e8a5ce4a2 refactoring to make the code clear and simple and fix some bugs 2014-04-01 19:12:36 -04:00
Paul Dix c3bf4876d7 fix #341. Limit the amount of memory taken by query
Remove the setting for shard query buffer size and add logic for max
number of shards to query in parallel.
2014-04-01 19:11:44 -04:00
John Shahid f959c439c9 update the changelog 2014-04-01 14:08:21 -04:00
John Shahid bb2f96e7ba fix #389. Filtering shouldn't stop prematurely 2014-04-01 12:34:12 -04:00
John Shahid 3a946843d8 upgrade to leveldb 1.15 2014-04-01 11:48:07 -04:00
John Shahid ca28d1d1e9 fix #386. Drop series should work with names containing dots 2014-04-01 09:33:49 -04:00
John Shahid 767ba83252 update the changelog 2014-03-31 19:18:05 -04:00
John Shahid 8c5bb2a9d1 Merge pull request #379 from influxdb/fix-379-boolean-columns-where-conditions
boolean attribute in where clause
2014-03-31 19:15:06 -04:00
John Shahid d369e5194b fix #379. Boolean columns testing in where conditions 2014-03-31 19:14:36 -04:00
Paul Dix f76762d93a Merge pull request #370 from influxdb/fix-370-shards-limit
Shards should be checking the limit on the query and stop returning data as soon as the limit is hit
2014-03-31 19:01:30 -04:00
John Shahid 67545b65a6 introduce some sleeps to make sure the data is updated 2014-03-31 18:55:28 -04:00
John Shahid aa61caaaa5 fix #370. Filtering and limit should be enforced on the shards 2014-03-31 18:55:28 -04:00
John Shahid e4335cf802 fix the shard boundaries test 2014-03-31 18:55:28 -04:00
John Shahid 3f543ead81 remove unused code 2014-03-31 18:55:28 -04:00
John Shahid 1d4d323e45 remove an unused func 2014-03-31 18:55:28 -04:00
Todd Persen 0769ff996e Add tests to verify that cluster admins can issue deletes. 2014-03-31 16:42:13 -04:00
Todd Persen e379a2fa65 Fix #381. Cluster admins should be able to issue deletes. 2014-03-31 16:28:03 -04:00
John Shahid 72fba5929a fix #378. Index should return immediately if there are no new requests 2014-03-31 14:31:04 -04:00
John Shahid 491924da94 add google-pprof cpu profiling
It currently doesn't play nice with go so it's disabled for now
2014-03-31 12:54:02 -04:00
John Shahid d1e15fa7e3 update the changelog 2014-03-28 15:14:59 -04:00
John Shahid 92a7d37042 oops, fix a bug introduced in 1772fe9. Tests FTW 2014-03-28 13:50:44 -04:00
John Shahid 36582ec9ed update the changelog 2014-03-28 13:32:14 -04:00
John Shahid 1772fe9e7c fix #360. Store and recover continuous queries on startup 2014-03-28 13:27:31 -04:00
John Shahid c8f88c5bb5 use the ContinuousQuery structure instead of an interface 2014-03-28 13:00:19 -04:00
John Shahid 21f089d334 increase the timeout 2014-03-28 12:47:12 -04:00
John Shahid c5e2e2c171 don't close the server if it hasn't started yet 2014-03-28 12:47:03 -04:00
John Shahid 47bbb67de1 change the default log level to info 2014-03-28 12:40:03 -04:00
John Shahid 5c38e52a96 update the changelog 2014-03-28 12:39:05 -04:00
John Shahid e2490a245b fix #371. Seris index isn't deleted when the series is dropped 2014-03-28 12:38:35 -04:00
John Shahid d37d89d52f update the changelog 2014-03-28 11:54:46 -04:00
John Shahid 1567c69ad1 fix #331. Allow negative time values 2014-03-28 11:54:11 -04:00
John Shahid 99f6dc74bc update the changelog 2014-03-28 11:02:39 -04:00
John Shahid 6b890e91dc fix #355. Return an error on invalid time strings 2014-03-28 10:57:58 -04:00
John Shahid 40e7d08cc8 panic on error 2014-03-28 10:57:58 -04:00
John Shahid 33414d7c5e print the number of columns as well 2014-03-28 10:57:58 -04:00
John Shahid fb2ece556e panic if the WAL cannot append the request to disk 2014-03-28 10:57:58 -04:00
John Shahid fdd0118ac5 fix the shutdown logic when we're not profiling 2014-03-28 10:57:58 -04:00
John Shahid b8dbac8cff renaming 2014-03-27 11:50:35 -04:00
John Shahid 49ee059e9a fix #367. Influxdb won't start if the api port is commented out 2014-03-27 11:50:35 -04:00
John Shahid bf883e8f9d update the changelog 2014-03-26 13:13:29 -04:00
John Shahid 7654856345 Merge pull request #342 from influxdb/fix-342-delete-bug
Deletes don't seem to actually delete the underlying data
2014-03-26 13:12:07 -04:00