Commit Graph

1076 Commits (eb292f741445758fc1cb6a7d56b5ed80ac14c5f2)

Author SHA1 Message Date
John Shahid eb292f7414 change printf to debug 2014-03-24 15:38:12 +01:00
Paul Dix c056cf5f47 Merge pull request #357 from influxdb/fix-340-out-of-order-commits
Fix 340 out of order commits
2014-03-23 16:11:37 -04:00
Paul Dix 447969c653 Fix replay so writing points while replaying doesn't cause a problem. Now the replay loop will work from the last known written request. 2014-03-23 13:08:53 -04:00
Paul Dix 50edea2a4c Add log output for write buffer replay. 2014-03-21 17:07:07 -04:00
Todd Persen b01b6bd00a Increase raft election timeout. 2014-03-20 15:46:52 -04:00
Paul Dix 1c38157a93 Fix list series query that I broke a few commits ago. Effffff..... 2014-03-20 14:41:20 -04:00
Paul Dix 05c86f15e0 Merge pull request #352 from influxdb/sort_points
Sort points
2014-03-20 14:27:22 -04:00
Paul Dix 38c1bdabc9 Use SortPoints method that was already in protocol extensions 2014-03-20 14:25:36 -04:00
John Shahid b321edb6db sleep while waiting for the other server to recover 2014-03-20 14:03:59 -04:00
John Shahid 830c72aa46 sort points before writing them to reduce the number of logged requests and replication requests 2014-03-20 14:03:58 -04:00
Paul Dix 5f37652347 Make list series requests use a buffered channel to not drop responses. 2014-03-20 10:16:11 -04:00
Paul Dix 86995e67b6 Make write on cluster server have a buffered channel so we can be sure to read the response. 2014-03-20 10:15:30 -04:00
Paul Dix c489ee23ea Create new request objects when sending writes to servers. This will ensure to avoid collisions on the request id in the protobuf client. 2014-03-19 17:35:52 -04:00
Paul Dix 78c82f403a Make heartbeats use a buffered channel. 2014-03-19 17:34:52 -04:00
Paul Dix 5acb994587 Merge pull request #335 from eckardt/fix_multiple_vars_in_continuous_query_interpolation
Allow to interpolate more than one column value in continuous queries
2014-03-17 18:07:23 -04:00
John Shahid a77692e245 Merge pull request #344 from lucapette/patch-1
Fix typo in conf file
2014-03-16 10:56:41 -04:00
lucapette 056c8c3751 Fix typo in conf file
Just a small typo I noticed this morning
2014-03-16 13:58:28 +01:00
Todd Persen 160bd6c9d4 Script to randomly write batches of points over a time interval. 2014-03-14 10:16:30 -04:00
John Shahid d3124b3da5 Merge branch 'pr-318' 2014-03-13 16:37:05 -04:00
John Shahid 7bda031982 change the default log level to debug 2014-03-13 16:29:47 -04:00
John Shahid df84b7fe79 fix few bugs introduced in dbe76df
The changes in that commit broke Join and Merge, because they were
bypassing the QueryEngine which kept track of the series that should be
closed at the end of the query. Aggregators require an empty time series
to be sent after the query ends to flush their internal state.

The other bug was in deletes. Fixing the first bug broke the new
behavior of deletes which is return nothing if the time series is
empty. This is also fixed.
2014-03-13 16:21:35 -04:00
Stephan Eckardt 1fdf5159bc Fixes regexp for interpolating more than one column value in continuous queries 2014-03-13 19:55:42 +01:00
John Shahid f5706829e2 DRY the parser a little bit, we already have a definition for SELECT 2014-03-12 19:44:31 -04:00
John Shahid f2e9c8a543 fix some log statements 2014-03-12 19:44:31 -04:00
Pawel Szymanski e2adcf1c58 Close #318. Support EXPLAIN queries 2014-03-12 19:44:31 -04:00
John Shahid 4da21ddc32 add some explain queries tests 2014-03-12 19:44:31 -04:00
Pawel Szymanski dbe76dfa31 partial fix for issue #294 processing some queries in batches 2014-03-12 17:56:19 -04:00
John Shahid e798c98bda fix a broken test in the parser package 2014-03-12 17:14:50 -04:00
John Shahid 9fdf025f09 don't forget to include the version.go in the source tar file 2014-03-12 16:06:54 -04:00
John Shahid 36932ad604 remove the version from the influxd.go file 2014-03-12 16:00:01 -04:00
John Shahid 38b37bfcc7 update the changelog 2014-03-12 15:15:02 -04:00
Paul Dix 4f30e59ea1 Merge pull request #333 from influxdb/fix-333-crypto-bug
"Failed to create user: crypto/blowfish: invalid key size 1"
2014-03-12 15:13:56 -04:00
John Shahid 0bc99d19fc fix #333. Readable error msgs and don't create user if pass is invalid
Currently we create a user with no password if the password provided was
not more than 4 chars and less than 56 chars. We also return an error
msg that reveals the internal of our crypto algorithm and isn't readable
by the end user.
2014-03-12 14:56:55 -04:00
John Shahid fe2503f2dc sleep for the data to replicate 2014-03-12 14:56:09 -04:00
John Shahid 87a284e131 remove redundant test 2014-03-12 14:52:58 -04:00
John Shahid b4bdb45dd6 move the user manager interface to the api package 2014-03-12 14:52:58 -04:00
John Shahid f9f00c63f1 set the process to nil after we kill the server 2014-03-12 14:10:30 -04:00
John Shahid 603621ee65 add some comments 2014-03-12 12:30:37 -04:00
John Shahid b5f68b7c9d update the changelog 2014-03-11 19:59:15 -04:00
John Shahid b4babbd5d7 Merge pull request #302 from influxdb/fix-302-negative-time
Should be able to set negative times for dates before 1/1/1970
2014-03-11 19:09:04 -04:00
John Shahid 6b178a5b4f Merge remote-tracking branch 'origin/fix-315-commits-not-in-order' into fix-302-negative-time
Conflicts:
	src/cluster/shard.go
2014-03-11 19:04:42 -04:00
John Shahid 471039ac9b fix #321. Fix a off-by-one bug in the splitting algo
The algorithm that splits the data to multiple shards had an off-by-one
bug that caused one point from the next shard to be included in the
current shard.
2014-03-11 18:54:10 -04:00
John Shahid 7e659b92e3 make sure that a shard endtime is exclusive when we search for shards range
note: this is hard to test since the shards will only return points in
the given range, so even if we use more shards than we're supposed to
the returned points will not be outside the query range. The only way to
test this is to write a unit test.
2014-03-11 18:54:10 -04:00
John Shahid 3a5adb7e07 fix time stamp rounding when we create a new shard 2014-03-11 18:54:10 -04:00
John Shahid 94f06b76d2 add some logging 2014-03-11 18:54:10 -04:00
John Shahid 89e7eae8c6 fix the sleep since the process takes about 5 seconds to startup 2014-03-11 18:52:37 -04:00
John Shahid 3c664f4f08 fix #302. Should be able to set negative times 2014-03-11 18:52:30 -04:00
John Shahid a33bb3733d fixup! we shouldn't be returning error if the function takes a response channel 2014-03-11 18:52:30 -04:00
Todd Persen 64571fc972 Clean up test spacing. 2014-03-11 18:10:04 -04:00
Todd Persen c54588dd43 A massive group by test with real data. 2014-03-11 18:10:04 -04:00