Edd Robinson
9f3cbdc80e
test(storage): add benchmark for series creation
...
This benchmark exercises creating (or checking if series need creating)
in the TSI index and the Series File.
2019-08-12 13:50:02 +01:00
Edd Robinson
396c6b0364
refactor(storage): ensure tests clean up
2019-08-12 13:49:52 +01:00
maxunt
62d1474442
Merge pull request #14246 from influxdata/mu-tsm-clean-14058
...
Clears tsm files when replace fails
2019-08-07 11:34:17 -07:00
maxunt
757fb4f80c
Merge pull request #14280 from influxdata/er-rename
...
feat(fs): API for replacing os calls
2019-08-07 11:33:57 -07:00
Edd Robinson
a2fc43ff0c
Merge pull request #14470 from influxdata/mu-reportTSI-2.x
...
feat(tsi1): add report-tsi tool to 2.x
2019-08-07 19:30:58 +01:00
Max U
ad188d6465
refactor(tsi1): remove extraneous logging
2019-08-05 13:21:13 -07:00
Max U
64747e9781
refactor(tsi1): address config changes to report-tsi tool
2019-08-05 10:03:32 -07:00
jlapacik
945f16ff4b
docs(tsm1): TagKeys and TagValues return partial results with non-nil errors
2019-08-01 13:47:11 -07:00
jlapacik
e7a0068e46
fix(tsm1): TagKeys/TagValues returns when context canceled
2019-08-01 13:47:11 -07:00
jlapacik
66662dca7f
test(tsm1): TagKeys/TagValues stops scanning when context is canceled
2019-08-01 13:47:11 -07:00
Adam Perlin
4fef1683a0
refactor(tsi1): address review comments for report-tsi tool
2019-07-26 16:21:11 -07:00
Adam Perlin
a0f4d714ea
chore(tsi1): rename tsi1_report.go -> report.go
2019-07-26 11:17:02 -07:00
Adam Perlin
d47a578258
fix(tsi1): map org to bucket in report-tsi tool so output is more useful
2019-07-26 11:17:02 -07:00
Adam Perlin
7ce1b8109f
chore(tsi1): Clean up flags and naming in report-tsi tool; add comments
2019-07-26 11:16:59 -07:00
Max U
9bd6200f15
fix(tsi1): make mergeable
2019-07-26 11:16:12 -07:00
Max U
2c1f3e2987
fix(tsi1): remove obnoxious log messages
2019-07-26 11:16:12 -07:00
Max U
17b1dd8562
feat(tsi1): add shorthand for --top flag as -t, plus cleaning
2019-07-26 11:12:15 -07:00
Max U
aa2f7a8ff7
feat(tsi1): add a --top flag for limiting output, output now sorted
2019-07-26 11:12:15 -07:00
Adam Perlin
32b283d25a
feat(tsi1/report): Add ability to filter by measurement; add additional maps for efficient retrieval of total org/bucket cardinalities
2019-07-26 11:12:15 -07:00
Max U
5e5fa96c5b
feat(tsi1): add flags for --org-id and --bucket-id
2019-07-26 11:12:15 -07:00
Max U
bfd38d93d8
feat(tsi1): provide API tooling for use in testing
2019-07-26 11:12:15 -07:00
Max U
8f99d20deb
feat(tsi1): port report-tsi tool to influxdb 2.x
2019-07-26 11:12:15 -07:00
Max U
eb6d0f4478
feat(tsi): report cardinality for all indexes, still needs to be cleaned
...
Fix iteration logic and clean up
2019-07-26 11:12:00 -07:00
Max U
36e578122e
feat(tsi): placeholder
2019-07-26 11:11:22 -07:00
Max U
41cc23cc35
fix(tsi1): clean up some error checking
2019-07-26 11:10:47 -07:00
Max U
b9ede87508
fix(tsi): error trace for engine failure, not working
2019-07-26 11:09:40 -07:00
Max U
550da3c5a5
fix(fs): merge branch 'master' into HEAD
2019-07-25 10:23:48 -07:00
Edd Robinson
ce3f58d9f0
Merge pull request #13787 from zhulongcheng/KeyCursor-overlapping
...
fix(tsm1): check if blocks are overlapping in KeyCursor.Next
2019-07-24 15:36:39 +01:00
tmgordeeva
48ee7ada04
fix(storage): move retention snapshot out of per bucket calls ( #14420 )
...
* fix(storage): move retention snapshot out of per bucket calls
Also adds tracking for snapshots from retention and full compactions.
2019-07-23 11:40:05 -07:00
Max U
979c075931
Merge branch 'master' into HEAD
2019-07-22 10:21:59 -07:00
kelwang
1d56544587
Merge pull request #14263 from zhulongcheng/keyRange
...
fix(storage): add key field to keyRange
2019-07-15 22:46:39 -04:00
Stuart Carnie
00561d5a1b
feedback: Move verify routines to `tsm1` package for consistency
...
Should have left it there to begin with 🤣
2019-07-09 09:00:41 +10:00
Stuart Carnie
46952afe37
feat(influxd): New influxd verify tsm-blocks command
...
This command performs verification of TSM blocks
* expected and actual CRC-32 checksums match
* expected and actual min and max timestamps match decoded
data
2019-07-09 09:00:41 +10:00
Max U
fe2aceb5e4
Merge branch 'master' into mu-tsm-clean-14058
2019-07-08 15:19:41 -04:00
Max U
6f14314e97
change log level from info to error
2019-07-08 14:49:14 -04:00
Max U
2202d727da
fixes merge conflicts
2019-07-08 14:07:04 -04:00
maxunt
ca5a599261
Merge branch 'master' into er-rename
2019-07-08 13:42:24 -04:00
Max U
39f51969e9
replaced os.Create calls w API calls to fs.CreateFile, includes unit test
2019-07-08 13:01:42 -04:00
Edd Robinson
12f2eeda1f
fix(storage): ensure query range is (start, stop]
2019-07-05 17:10:56 +01:00
zhulongcheng
94d4c846a8
fix(storage): add key field to keyRange
...
Signed-off-by: zhulongcheng <zhulongcheng.me@gmail.com>
2019-07-05 00:14:19 +08:00
Ben Johnson
150165e92f
fix(tsdb): Fix tsm1 block merge. ( #14254 )
...
fix(tsdb): Fix tsm1 block merge.
2019-07-04 08:35:43 -06:00
Max U
948f04ef8d
allow for compaction to same file with fs api
2019-07-03 14:28:27 -04:00
Max U
c669a32ff3
change fs.RenameFile to fs.RenameFileWithReplacement when compacting partition stats files as they must go to the same place
2019-07-03 14:23:21 -04:00
Max U
fe748128e3
replaces os.Rename calls w api calls to fs.RenameFile. tests now are failing
2019-07-03 13:14:43 -04:00
Ben Johnson
10a2063dcc
fix(tsdb): Fix tsm1 block merge.
...
Fixes the `tsm1.BlockIterator` so that it returns the current
key if there are still additional entries remaining. This previously
caused multiple entries not to be merged together during compaction
because the iterator would check if the next key matched the current
key but the key for the next set of entries was returned.
2019-07-03 10:08:51 -06:00
Stuart Carnie
a42ff1628d
fix(influxd): --pattern flag matches specified substring
...
Previously the logic was inverted so `--pattern` matched
everything but the specified value.
2019-07-03 12:02:19 +10:00
Max U
af257e93ff
initial commit for clearing tsm files when replace fails
2019-07-02 13:48:31 -04:00
Ben Johnson
08e24faf4c
feat(tsdb): Add block exporter.
...
Adds export tooling to `influxd inspect export-blocks` so that we
can dump out block data in SQL format for better analysis during
the debugging process.
2019-07-01 10:10:52 -06:00
Tanya Gordeeva
fe4333e8e0
fix(storage): fix tracking disk bytes in memory
2019-06-27 16:36:00 -07:00
Tanya Gordeeva
3ff15a8b41
fix(storage): fix counts for level 4+ files
...
The counts wreen't adding all the level 4+ files, so the last one to be counted
would override the rest.
2019-06-27 16:36:00 -07:00