influxdb/tsdb
Stuart Carnie 7de6383adf
refactor(tsm1): Allow race-free access to cache
This commit adds a new API to `Cache` to address data races
with the `TagKeys` and `TagValues` APIs.

`Cache` and `entry` provide `AppendTimestamps`, which
appends the current timestamps to the provided slice
to reduce allocations. As noted in the documentation,
it is the responsibility of the caller to sort and deduplicate
the values, if required.

The `cursors.TimestampArray` type was extended to permit
use of the `sort.Sort` API.
2020-04-08 16:15:05 -07:00
..
cursors refactor(tsm1): Allow race-free access to cache 2020-04-08 16:15:05 -07:00
migrate refactor: rewrite imports to include the /v2 suffix for version 2 2020-04-03 12:39:20 -05:00
seriesfile refactor: rewrite imports to include the /v2 suffix for version 2 2020-04-03 12:39:20 -05:00
testdata Update tsdb package from OSS 2018-10-01 12:08:37 +01:00
tsi1 refactor: rewrite imports to include the /v2 suffix for version 2 2020-04-03 12:39:20 -05:00
tsm1 refactor(tsm1): Allow race-free access to cache 2020-04-08 16:15:05 -07:00
value refactor: rewrite imports to include the /v2 suffix for version 2 2020-04-03 12:39:20 -05:00
errors.go refactor(storage): move and remove to help cleanup tsdb package (#17275) 2020-03-16 12:23:15 -07:00
explode.go refactor: rewrite imports to include the /v2 suffix for version 2 2020-04-03 12:39:20 -05:00
explode_test.go refactor: rewrite imports to include the /v2 suffix for version 2 2020-04-03 12:39:20 -05:00
meta.go refactor: rewrite imports to include the /v2 suffix for version 2 2020-04-03 12:39:20 -05:00
meta_test.go refactor: rewrite imports to include the /v2 suffix for version 2 2020-04-03 12:39:20 -05:00
series_collection.go refactor: rewrite imports to include the /v2 suffix for version 2 2020-04-03 12:39:20 -05:00
series_collection_test.go refactor: rewrite imports to include the /v2 suffix for version 2 2020-04-03 12:39:20 -05:00
series_id.go refactor: rewrite imports to include the /v2 suffix for version 2 2020-04-03 12:39:20 -05:00
series_id_test.go refactor: rewrite imports to include the /v2 suffix for version 2 2020-04-03 12:39:20 -05:00
series_iterators.go chore: Revert "refactor(tsdb): remove read from unexported field (#17279)" (#17305) 2020-03-16 17:48:01 -07:00
series_iterators_test.go refactor: rewrite imports to include the /v2 suffix for version 2 2020-04-03 12:39:20 -05:00
series_set.go chore: Revert "refactor(tsdb): remove read from unexported field (#17279)" (#17305) 2020-03-16 17:48:01 -07:00
series_set_test.go Remove copy-on-write when caching bitmaps 2019-01-25 13:38:22 +00:00