Commit Graph

4001 Commits (eaffda421dcf3f6ad010939f7e62031a396d5de5)

Author SHA1 Message Date
Cory LaNou 8306057179 actually drop shard data 2015-02-21 17:10:11 -07:00
Cory LaNou 6d5be3da25 wip. compiles now. tests next 2015-02-21 17:10:11 -07:00
Cory LaNou 7cfc2a5601 wip 2015-02-21 17:10:11 -07:00
Cory LaNou 6370a4ef2b wip in progress for actually dropping the series data 2015-02-21 17:05:08 -07:00
Cory LaNou 27d7f45729 support drop series without from but with where 2015-02-21 17:05:08 -07:00
Cory LaNou 918c5c8ce9 one more err test condition for drop series 2015-02-21 17:05:08 -07:00
Cory LaNou fd9c19ad9c wire up drop series parsing 2015-02-21 17:05:08 -07:00
Philip O'Toole 77a07b6345 Merge pull request #1671 from influxdb/more_single_node_batching
Multi-batch write testing on a single-node
2015-02-21 15:21:18 -08:00
Philip O'Toole 491a6e1a4a Fix single-node test names 2015-02-21 15:16:15 -08:00
Philip O'Toole 22f3b246cd Multi-batch write testing on a single-node 2015-02-21 15:15:54 -08:00
Philip O'Toole 0fc9a31ed6 Merge pull request #1670 from influxdb/n_time_parsing
Add batch test of 3-node and 5-node clusters
2015-02-21 15:10:08 -08:00
Philip O'Toole 66fc561a10 Wait only 1 second after writes
Fix

6e93a52bf2

means data is read correctly by data nodes
2015-02-21 15:04:37 -08:00
Ben Johnson 7107d4b0ac Start replica subscription from index zero. 2015-02-21 15:01:32 -08:00
Philip O'Toole 4e95b35295 Add batch test of 3-node and 5-node clusters
The wait time after the write had to be increased x3.
2015-02-21 15:01:32 -08:00
Ben Johnson 4e5b6e93ff Merge pull request #1672 from influxdb/data-node-recovery
Add index tracking to metastore.
2015-02-21 15:34:54 -07:00
Ben Johnson 0be9a1f630 Merge pull request #1667 from influxdb/broker-recovery
Broker recovery
2015-02-21 15:31:13 -07:00
Ben Johnson 408cf37e5a Fix broker reopen test, docs. 2015-02-21 15:25:11 -07:00
dgnorton e9ac532fdb Merge pull request #1659 from influxdb/wire-regex
Wire up regex queries
2015-02-21 17:23:28 -05:00
David Norton 83e103b846 fixed test in handler_test.go 2015-02-21 16:49:38 -05:00
Ben Johnson 4dbd1541f7 Add index tracking to metastore.
This commit adds tracking of the index to the metastore so that data
nodes will ignore replayed indexes when they are restarted. This
does not include index persistence for the shards.
2015-02-21 13:46:16 -07:00
David Norton 9bff9cdeee issue #1431: wire up regex queries 2015-02-21 15:38:35 -05:00
David Norton 12bed3e74f issue #1430: add where regex to influxql 2015-02-21 15:37:52 -05:00
Philip O'Toole 3a999e95b0 Merge pull request #1669 from influxdb/n_time_parsing
Add single-node large batch write test
2015-02-21 12:01:37 -08:00
Philip O'Toole e9acab4139 Add single-node batch test, for a large batch 2015-02-21 11:58:36 -08:00
Philip O'Toole e11cbb5629 Add simple batching integration test
Uses new code to quickly generate batches for test.
2015-02-21 11:36:05 -08:00
Ben Johnson a5692b71ee Add proper broker recovery.
This commit fixes the broker recovery so that it determines the last index
from the various topic logs instead of persisting the snapshot on every
message that comes in.
2015-02-21 08:21:51 -07:00
Ben Johnson 64cc1fb0f6 Lower wait interval to speed up tests. 2015-02-21 08:19:28 -07:00
Philip O'Toole ccc15b8abb Skip CQ unit test, maybe due to batch writes
The Query Engine is also being refactored, so this may affect this code.
2015-02-20 20:45:48 -08:00
Philip O'Toole 1522842532 Merge pull request #1644 from influxdb/batched_series_create
Batched write support
2015-02-20 16:43:30 -08:00
Philip O'Toole c8233265eb Merge pull request #1665 from influxdb/fix_int_test_json
Add unit test for BatchPoints unmarshal
2015-02-20 16:31:26 -08:00
Philip O'Toole 5b1ceec3fa Fix test JSON for BatchPoints unmarshal 2015-02-20 16:27:17 -08:00
Philip O'Toole 1f7a1f3241 Add unit test for BatchPoints unmarshal 2015-02-20 15:59:02 -08:00
Philip O'Toole efa0d55b9a Merge pull request #1664 from influxdb/fix_int_test_json
Cosmetic fixes to integration test JSON
2015-02-20 15:18:03 -08:00
Philip O'Toole e404f0bf66 Cosmetic fixes to integration test JSON 2015-02-20 15:14:20 -08:00
Philip O'Toole 9c4174a006 Simplify locking in WriteSeries()
In addition, memomize the Field codecs.
2015-02-20 14:26:12 -08:00
Ben Johnson 2a6689341a Merge pull request #1663 from influxdb/raft
Fix candidate step down on heartbeat
2015-02-20 14:42:46 -07:00
Ben Johnson a7a8e0bba4 Fix candidate heartbeat step down. 2015-02-20 13:52:45 -07:00
Ben Johnson 9ff2969d38 Add set up code for raft internal tests. 2015-02-20 13:52:12 -07:00
Philip O'Toole 612ef1fa08 Write batch in a single BoltDB transaction 2015-02-20 11:28:07 -08:00
Philip O'Toole bd4352c77d Remove unused shardsBySeriesID
Its presence is making Bolt-level batching quite awkward, and since it's
not used, just remove it.
2015-02-20 11:28:07 -08:00
Philip O'Toole 169409ac03 Move to slices for creating measurements
Using maps was resulting in unpredicatable ordering of columns and tags.
2015-02-20 11:28:07 -08:00
Philip O'Toole c3f4eb0de1 Tighten batching unit test 2015-02-20 11:28:07 -08:00
Philip O'Toole f5b2962d42 Incorporate inital code review feedback 2015-02-20 11:28:07 -08:00
Philip O'Toole 4c28e63a93 Restore helpful field type conflict error message 2015-02-20 11:28:07 -08:00
Philip O'Toole 5c61b7d8b8 Add new fields even when Measurement exists 2015-02-20 11:28:07 -08:00
Philip O'Toole 0e3e223e84 Always ensure measurement exists in command
Unit tests need updating since some tests are no longer valid.
2015-02-20 11:28:07 -08:00
Philip O'Toole 2585a9ea4f Encode real batches for shards 2015-02-20 11:28:07 -08:00
Philip O'Toole 3cb9398344 Add simple batch write test at handler level
This test passes, but only because it is checking for the wrong results.
Once batching is implemented this test will fail (as long as it is
unaltered).
2015-02-20 11:28:07 -08:00
Philip O'Toole ff765793e6 Implement applyCreateMeasurementsIfNotExists 2015-02-20 11:28:07 -08:00
Philip O'Toole 25c3b104b7 WriteSeries now uses batching 2015-02-20 11:28:06 -08:00