Edd Robinson
1e891b5fbc
Change logging level
2017-11-30 14:08:44 +00:00
Ben Johnson
ca09f18e65
intermediate: tsdb compile
2017-11-29 11:20:18 -07:00
Ben Johnson
cc22134d8f
Merge branch 'er-tsi-index-part' of https://github.com/influxdata/influxdb into er-tsi-index-part
2017-11-27 07:52:39 -07:00
Ben Johnson
01491ca4f4
intermediate
2017-11-27 07:52:18 -07:00
Edd Robinson
4831545830
Add PR typo/doc changes
2017-11-27 14:05:30 +00:00
Ben Johnson
fc966a1b67
Add series file backup/restore.
2017-11-22 08:55:54 -07:00
Ben Johnson
ede3fcf98e
intermediate
2017-11-15 16:09:25 -07:00
Ben Johnson
ba4c9e0317
Merge remote-tracking branch 'upstream/master' into er-tsi-index-part
2017-11-14 16:14:13 -07:00
Jason Wilder
8b18cc4456
Optimize deletes in tsi
...
The DropSeries code path ended up creating a MeasurementSeriesIterator
for each dropped series, this was too expensive just to see if a
series exists.
This adds a HasSeries func and fixes and issue where TSI files were
compacted while an iterator was still in use causing a panic.
2017-11-13 12:35:38 -07:00
Jason Wilder
13692639cb
Fix create/delete series race
...
This fixes a race where writes and deletes to the same series and
measurements could sometimes leave the index in an inconsistent state.
2017-11-13 09:02:10 -07:00
Jason Wilder
16d1f4309b
Extract MeasurementSeriesKeysByExprIterator
2017-11-13 09:02:10 -07:00
Ben Johnson
9756a29678
import fix
2017-11-13 08:54:32 -07:00
Jonathan A. Sternberg
0b7c56bcd8
Update the zap logger dependency
...
The previous sha was taken from a revision on a devel branch that I
thought would continue staying in the tree after it was merged. That
revision was rebased away and the API was changed for the logger.
This updates the usage of the logger and adds a simple package for
constructing the base logger.
The 1.0 version of zap changed the format of the default console logger
so this change moves over to this new logger instead of attempting to
retain backwards compatibility with the old format.
2017-11-10 16:27:16 -06:00
Ben Johnson
e278af2b18
intermediate
2017-11-09 09:30:19 -07:00
Ben Johnson
d3cd750509
Refactor series file tombstoning.
2017-11-09 09:30:19 -07:00
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
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
Ben Johnson
156f25ac23
Improve SHOW TAG KEYS performance.
2017-11-07 10:59:19 -07:00
Stuart Carnie
f3d45ba301
influxdata/influxdb/influxql -> influxdata/influxql
2017-10-30 14:40:26 -07:00
Ben Johnson
49c1fca036
Handle nil MeasurementIterator.
2017-10-26 11:25:46 -06:00
Ben Johnson
5a77238f30
Sort & validate TSI key value insertion.
2017-10-23 10:46:01 -06:00
Ben Johnson
62093d2641
Merge pull request #8975 from benbjohnson/tsi-copy-returned-bytes
...
Copy returned bytes from TSI meta functions.
2017-10-18 09:26:02 -06:00
Ben Johnson
8ad2048a6b
TSI byte copy usage comments.
2017-10-18 07:21:54 -06:00
Ben Johnson
d17d0f18e0
Move copyBytes() and copyByteSlices() to bytesutil.
2017-10-18 07:19:46 -06:00
Jason Wilder
a6f4069ca7
Fix max select series limit for tsi
...
TSI did not check that the max select series limit during planning
the same way that inmem did. This means that the limit could be
set but the planning of a high cardinality query would still OOM
the server. This fixes that limit as well as makes the query interruptible
during planning.
2017-10-17 15:24:41 -06:00
Ben Johnson
dceb88eb30
Copy returned bytes from TSI meta functions.
2017-10-17 14:05:35 -06:00