Files
scylladb/tests
Raphael S. Carvalho 76cde84540 sstables/compaction_manager: Fix logic for filtering out partial sstable runs
ignore_partial_runs() brings confusion because i__p__r() equal to true
doesn't mean filter out partial runs from compaction. It actually means
not caring about compaction of a partial run.

The logic was wrong because any compaction strategy that chooses not to ignore
partial sstable run[1] would have any fragment composing it incorrectly
becoming a candidate for compaction.
This problem could make compaction include only a subset of fragments composing
the partial run or even make the same fragment be compacted twice due to
parallel compaction.

[1]: partial sstable run is a sstable that is still being generated by
compaction and as a result cannot be selected as candidate whatsoever.

Fix is about making sure partial sstable run has none of its fragments
selected for compaction. And also renaming i__p__r.

Fixes #4729.

Signed-off-by: Raphael S. Carvalho <raphaelsc@scylladb.com>
Message-Id: <20190807022814.12567-1-raphaelsc@scylladb.com>
2019-08-08 14:11:35 +03:00
..
2019-06-28 16:43:25 +03:00
2019-06-28 16:43:25 +03:00
2019-02-07 20:18:14 +02:00
2019-06-28 16:43:25 +03:00
2019-06-28 16:43:25 +03:00
2019-06-28 16:43:25 +03:00
2019-02-07 20:18:14 +02:00
2019-06-12 13:14:53 +03:00
2019-02-07 20:18:14 +02:00
2018-11-21 00:01:44 +02:00
2018-11-21 00:01:44 +02:00
2018-11-21 00:01:44 +02:00
2019-06-28 16:43:25 +03:00
2019-06-28 16:43:25 +03:00
2019-03-28 14:21:10 +02:00
2019-03-28 14:21:10 +02:00
2019-05-07 10:00:58 +03:00
2018-12-05 21:51:01 +02:00
2019-06-28 16:43:25 +03:00
2019-06-28 16:43:25 +03:00