influxdb/tsdb
Jonas Hahnfeld 89ced057cb Fix compaction logic on infrequent cache snapshots
This change fixes #10511 that manifests when a shard is considered cold
faster than its cache is snapshotted. Previously the code only looked at
the last modification of compacted tsm1 files. Instead the (restored)
Engine.lastModified() also takes the cache into account.

Ports #10522 to master where engine.go has moved and Engine.LastModified()
was deleted because it was unused.
2019-03-28 22:21:59 +01:00
..
cursors chore: rename imports from platform to influxdb 2019-01-09 20:51:47 -08:00
internal Integrate scanned values statistics tracking. 2018-11-28 15:32:06 -07:00
testdata Update tsdb package from OSS 2018-10-01 12:08:37 +01:00
tsi1 use tracing.StartSpanFromContext 2019-03-07 12:12:31 -07:00
tsm1 Fix compaction logic on infrequent cache snapshots 2019-03-28 22:21:59 +01:00
value refactor: move value package up to tsdb 2019-02-04 10:32:52 -07:00
config.go chore: rename imports from platform to influxdb 2019-01-09 20:51:47 -08:00
cursor.go Fix typo 2019-01-23 13:33:09 +01:00
errors.go tsdb: cleanup shard errors 2019-02-18 21:25:30 +08:00
explode.go ddress PR feedback 2019-03-07 09:56:07 +00:00
explode_test.go ExplodePoints now complies with new keys 2019-03-07 09:56:07 +00:00
index.go storage: fix problems with keeping resources alive 2019-02-28 10:22:01 -07:00
index_test.go feat(influxd): Tracing refactor (#12318) 2019-03-04 11:48:11 -08:00
meta.go chore: rename imports from platform to influxdb 2019-01-09 20:51:47 -08:00
meta_test.go chore: rename imports from platform to influxdb 2019-01-09 20:51:47 -08:00
metrics.go chore: rename imports from platform to influxdb 2019-01-09 20:51:47 -08:00
metrics_test.go feat(influxd): Tracing refactor (#12318) 2019-03-04 11:48:11 -08:00
series_collection.go chore: rename imports from platform to influxdb 2019-01-09 20:51:47 -08:00
series_collection_test.go chore: rename imports from platform to influxdb 2019-01-09 20:51:47 -08:00
series_file.go storage: add SeriesOffsetSize constant 2019-03-12 10:51:22 +08:00
series_file_test.go feat(influxd): Tracing refactor (#12318) 2019-03-04 11:48:11 -08:00
series_id.go chore: rename imports from platform to influxdb 2019-01-09 20:51:47 -08:00
series_id_test.go chore: rename imports from platform to influxdb 2019-01-09 20:51:47 -08:00
series_index.go storage: pr review changes 2019-03-12 22:15:28 +08:00
series_index_test.go chore: rename imports from platform to influxdb 2019-01-09 20:51:47 -08:00
series_partition.go storage: add SeriesOffsetSize constant 2019-03-12 10:51:22 +08:00
series_segment.go chore: rename imports from platform to influxdb 2019-01-09 20:51:47 -08:00
series_segment_test.go chore: rename imports from platform to influxdb 2019-01-09 20:51:47 -08:00
series_set.go Remove copy-on-write when caching bitmaps 2019-01-25 13:38:22 +00:00
series_set_test.go Remove copy-on-write when caching bitmaps 2019-01-25 13:38:22 +00:00