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
Philip O'Toole
0d3ab9fa1d
Create-measurement command in local function
2015-02-20 11:28:06 -08:00
Philip O'Toole
93dea5d527
Test failure cases for measurement create command
2015-02-20 11:28:06 -08:00
Philip O'Toole
3435da9626
Correctly initialize createMeasurement maps
...
Full unit tests added for happy paths.
2015-02-20 11:28:06 -08:00
Philip O'Toole
55fbd7e42c
Batch Measurement creation
2015-02-20 11:28:06 -08:00
Ben Johnson
2e32c314b6
Merge pull request #1615 from influxdb/election
...
Refactor raft state handling
2015-02-20 11:45:17 -07:00
Ben Johnson
02764a8a12
Fix raft last log index.
2015-02-20 11:02:30 -07:00
Ben Johnson
345382a89b
Merge branch 'master' of https://github.com/influxdb/influxdb into election
2015-02-20 09:09:16 -07:00
Cory LaNou
1a6c783c29
Merge pull request #1658 from influxdb/http-wait-endpoint
...
Separate /index to /index and /wait
2015-02-19 19:53:45 -07:00
Cory LaNou
660db92fef
return early
2015-02-19 19:46:45 -07:00
Cory LaNou
b7d92743e1
one more test
2015-02-19 19:41:08 -07:00
Philip O'Toole
0519e76d4d
Merge pull request #1645 from gummiboll/small-initsh-fix
...
Small fix for init.sh
2015-02-19 18:38:41 -08:00
Cory LaNou
db73dcf0cc
less goldplating, more endpoints
2015-02-19 19:34:52 -07:00
Cory LaNou
862d06f201
Merge pull request #1656 from influxdb/http-index
...
Basic index endpoints for http
2015-02-19 19:08:28 -07:00
Cory LaNou
4189eecef0
removing extra line
2015-02-19 19:01:53 -07:00
Cory LaNou
de18566446
correct comment, parse uint64
2015-02-19 19:00:11 -07:00
Cory LaNou
eb479b2826
allow for index/timeout to be specified in index endpoint
2015-02-19 18:55:42 -07:00
Cory LaNou
d6f9470f41
basic index endpoints
2015-02-19 17:51:14 -07:00
Philip O'Toole
ea2dadbd1e
Merge pull request #1653 from influxdb/restart_before_query
...
Test that data is queryable across restarts
2015-02-19 13:35:25 -08:00
Philip O'Toole
cc46d0225e
Test that data is queryable across restarts
2015-02-19 13:22:04 -08:00
Ben Johnson
ec1e2e3283
Merge branch 'master' of https://github.com/influxdb/influxdb into election
2015-02-19 12:33:00 -07:00