Ben Johnson
3034d3fb54
intermediate
2017-11-09 09:30:19 -07:00
Ben Johnson
919f99f34d
Fixing tests.
2017-11-09 09:30:19 -07:00
Ben Johnson
07a743cca7
Rebase fixes
2017-11-09 09:29:19 -07:00
Edd Robinson
4471341d7e
Ensure error channel has capacity for all partitions
2017-11-09 09:28:37 -07:00
Ben Johnson
b24b08a23c
Fix partition loading.
2017-11-09 09:28:37 -07:00
Ben Johnson
1f6d4ed1d1
Add series map.
2017-11-09 09:28:37 -07:00
Edd Robinson
49218fd3bd
Fix issue with series being added to log file
2017-11-09 09:28:37 -07:00
Edd Robinson
87778f3c45
Open partitions in parallel
2017-11-09 09:28:37 -07:00
Edd Robinson
3ae799b3a5
WIP Fix build
2017-11-09 09:28:37 -07:00
Edd Robinson
ebb23df1cf
Implement most merge based methods
2017-11-09 09:28:37 -07:00
Edd Robinson
0dd97cc84a
Add utility functions for merging k collections of sorted slices
2017-11-09 09:28:37 -07:00
Edd Robinson
6d87ff7fa2
WIP - series point iterator
2017-11-09 09:28:37 -07:00
Edd Robinson
aec607bddf
Implement Measurement sketches
2017-11-09 09:28:37 -07:00
Edd Robinson
b39aa858cf
Implement series creation
2017-11-09 09:28:37 -07:00
Edd Robinson
65c6fa747e
Implement methods that don't require merge
2017-11-09 09:28:37 -07:00
Edd Robinson
bf132004a3
Implement basic partition layout
2017-11-09 09:28:37 -07:00
Edd Robinson
7aa9de508d
Initial refactor of tsi1.Index
...
This commit carries out the initial refactor of the tsi1.Index into
tsi1.Partition. We then create a new tsi1.Index that will be an
abstraction over a collection of Partitions.
2017-11-09 09:27:56 -07:00
Edd Robinson
fb646549f4
Index files -> partition files
2017-11-09 09:26:06 -07:00
Ben Johnson
328bffd658
Convert series ids to 64-bits.
2017-11-09 09:26:06 -07:00
Ben Johnson
0ffd94a37a
Fix rebase
2017-11-09 09:25:10 -07:00
Ben Johnson
08e459357a
Fix tsi race conditions.
2017-11-09 09:18:33 -07:00
Ben Johnson
c75f1127aa
intermediate
2017-11-09 09:18:33 -07:00
Ben Johnson
f223153078
Initial working version of series file.
2017-11-09 09:18:33 -07:00
Ben Johnson
e05d4fdeeb
intermediate
2017-11-09 09:18:33 -07:00
Ben Johnson
9ad2b53881
intermediate
2017-11-09 09:18:33 -07:00
Ben Johnson
7259589241
intermediate
2017-11-09 09:18:33 -07:00
Ben Johnson
48b48a8927
intermediate
2017-11-09 09:13:46 -07:00
Edd Robinson
0614ebb1d1
Merge pull request #9085 from influxdata/er-iterator-pb
...
Pass through SystemIterator in PB
2017-11-08 20:28:45 +00:00
Edd Robinson
6443355467
Pass through SystemIterator in PB
2017-11-08 19:57:16 +00:00
Edd Robinson
25d1976e95
Merge pull request #9083 from influxdata/er-show-tag-key-vals
...
SHOW TAG {KEYS, VALUES} across RPs
2017-11-08 16:49:57 +00:00
Edd Robinson
d581aee285
Ensure all retention policies queried
2017-11-08 16:27:57 +00:00
Edd Robinson
59c4e4b1bc
Skip shards we don't have
2017-11-08 13:33:52 +00:00
Jonathan A. Sternberg
8e6c208b55
Merge pull request #9080 from influxdata/js-influxql-data-type
...
Update influxql so DataType constants are the type DataType
2017-11-07 20:05:23 -06:00
Jonathan A. Sternberg
b09396f977
Update influxql so DataType constants are the type DataType
2017-11-07 18:34:53 -06:00
Edd Robinson
081d0649a6
Merge pull request #9078 from influxdata/er-race-tests
...
Skip cardinality tests in race mode
2017-11-07 19:52:30 +00:00
Ben Johnson
af9931198c
Merge pull request #9073 from benbjohnson/show-query-perf-2
...
Improve SHOW TAG KEYS performance.
2017-11-07 12:35:38 -07:00
Edd Robinson
d03f1a68d6
Merge pull request #9077 from influxdata/er-go19-appveyor
...
Update AppVeyor to use Go 1.9
2017-11-07 19:17:30 +00:00
Edd Robinson
5a85f0d239
Skip cardinality tests in race mode
2017-11-07 18:55:43 +00:00
Ben Johnson
156f25ac23
Improve SHOW TAG KEYS performance.
2017-11-07 10:59:19 -07:00
Stuart Carnie
f43d42e961
Merge pull request #9076 from influxdata/sgc-yamux
...
update yamux
2017-11-07 10:50:56 -07:00
Edd Robinson
b212d927c0
Update AppVeyor to use Go 1.9
2017-11-07 17:42:30 +00:00
Stuart Carnie
b653b5ffcf
update yamux
2017-11-07 10:35:59 -07:00
Jonathan A. Sternberg
9e7427f319
Merge pull request #9075 from influxdata/js-pid-test-env-vars
...
Use the isolated temp dir for the test pid server
2017-11-07 11:27:12 -06:00
Jonathan A. Sternberg
e13ad18160
Use the isolated temp dir for the test pid server
2017-11-07 10:40:46 -06:00
Jonathan A. Sternberg
0b5178ca73
Merge pull request #9074 from influxdata/js-fix-cmd-integration-test
...
Use the appropriate environment variable for the wal directory
2017-11-07 10:30:02 -06:00
Jonathan A. Sternberg
0a73dcec96
Use the appropriate environment variable for the wal directory
...
The integration test was intended to use the temporary directory for the
files that were created, but `INFLUXDB_WAL_DIR` is supposed to be
`INFLUXDB_DATA_WAL_DIR`.
2017-11-07 10:07:33 -06:00
Edd Robinson
126db1b5f9
Merge pull request #9068 from influxdata/er-show-query-perf
...
Add time support to some meta queries
2017-11-07 15:48:58 +00:00
Edd Robinson
e762da9aca
Fix race on store close
...
There was a very small window where it was possible to deadlock during
the close of the Store. When closing, the Store waited on its Waitgroup
under a `Lock`. Naturally, all other goroutines must have been in a
position to call `Done` on the `Waitgroup` before the `Wait` call in
`Close` would return.
For the goroutine running the `monitorShards` method it was possible
that it would be unable to do this. Specifically, if the `monitorShards`
goroutine was jumping into the `t.C` case as the `Close()` goroutine was
acquiring the `Lock` then then `monitorShards` goroutine would be unable
to acquire the `RLock`. Since it would also be unable to progress around
its loop to jump into the `s.closing` case, it would be unable to call
`Done` on the `WaitGroup` and we would have a deadlock.
This was identified during an AppVeyor CI run, though I was unable to
reproduce this locally.
2017-11-07 15:26:46 +00:00
Edd Robinson
e69217440b
Remove noisy log line
2017-11-07 10:50:49 +00:00
Edd Robinson
07c4fdc1ed
Fix data race on SeriesPointIterator
2017-11-07 10:48:23 +00:00