Sam Arnold
4de89afd37
refactor: remove dead iterator code ( #23887 )
...
* fix: codegen without needing goimports
* refactor: remove dead code
2022-11-09 19:26:12 -05:00
Stuart Carnie
dee8977d2c
chore: move v2/v1/tsdb → v2/tsdb
2020-08-26 10:46:47 -07:00
Mark Rushakoff
f2898d1992
Wipe out workspace in preparation for v2 merge
...
"Knock knock."
"Who's there?"
"InfluxDB Veet."
...
2019-01-11 10:38:50 -08:00
Stuart Carnie
c3d7f3de2b
fix: Allow compactor to make progress if v.MaxTime() != entry.MaxTime
2018-11-14 09:13:13 -07:00
Edd Robinson
be662a5853
Fix TSM index maxtime modification
2018-10-29 15:44:31 +00:00
Edd Robinson
5054d6fae4
Address PR feedback
2018-10-16 13:37:49 +01:00
Edd Robinson
09da18c08e
Add TSM batch key iterator
...
The batch focussed TSM key iterator iterates TSM blocks, decoding and
merging blocks where appropriate using the the batch focussed
approaches.
2018-10-16 12:08:12 +01:00
Hans P. Bieker
a85306c53e
Updated mergeUnsigned by running "go generate ./tsdb/engine/tsm1".
2018-01-04 19:35:01 +01:00
Hans Petter Bieker
7a273ccdb5
Fixed issue where compacting did not sort when block are unsorted and overlapping.
2018-01-04 15:25:26 +01:00
hpbieker
c892bf15a1
Fix missing sorting of blocks when compacting.
2018-01-03 10:21:11 +01:00
Jason Wilder
16ece490ef
Reduce allocation in tsmKeyIterator.Next
...
The chunked slice is unnecessary and we can re-use k.blocks throughout
the compaction.
2017-10-03 10:48:14 -06:00
Jason Wilder
4fe81aeee6
Remove manual Gosched from compactions
...
At higher cardinalities, this dramatically slows down compaction throughput.
2017-09-19 15:27:25 -06:00
Stuart Carnie
d243df5ca3
simplify loop
2017-07-24 09:03:22 -07:00
Stuart Carnie
eec80692c4
Taught tsm1 storage engine how to read and write uint64 values
...
* introduced UnsignedValue type
* leveraged existing int64 compression algorithms (RLE, Simple 8B)
* tsm and WAL can read and write UnsignedValue
* compaction is aware of UnsignedValue
* unsigned support to model, cursors and write points
NOTE: there is no support to create unsigned points, as the line
protocol has not been modified.
2017-07-24 09:03:22 -07:00
Jason Wilder
2f7d4995b4
Use typed values to avoid allocations
...
This switches compactions to use type values (FloatValues) from the
generic Values type. It avoids a bunch of allocations where each value
much be converted from a specific type to an interface{}.
2017-03-09 16:27:07 -07:00