Previously the TSI partition would panic if a compaction was started while `Wait()` was waiting. This commit removes the previous wait group and replaces it with a simple counter. The `Wait()` function now polls the counter until it reaches zero. |
||
---|---|---|
.. | ||
cursors | ||
internal | ||
testdata | ||
tsi1 | ||
tsm1 | ||
value | ||
config.go | ||
cursor.go | ||
errors.go | ||
explode.go | ||
explode_test.go | ||
index.go | ||
index_test.go | ||
meta.go | ||
meta_test.go | ||
metrics.go | ||
metrics_test.go | ||
series_collection.go | ||
series_collection_test.go | ||
series_file.go | ||
series_file_test.go | ||
series_id.go | ||
series_id_test.go | ||
series_index.go | ||
series_index_test.go | ||
series_partition.go | ||
series_partition_test.go | ||
series_segment.go | ||
series_segment_test.go | ||
series_set.go | ||
series_set_test.go | ||
series_verify.go | ||
series_verify_test.go |