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-08-06 15:11:19 +03:00
2019-06-12 10:11:08 +03:00
2018-11-01 13:16:17 +00:00
2019-06-28 16:43:25 +03:00
2019-01-30 11:17:38 +02:00
2019-07-04 11:32:57 +02:00
2019-05-07 07:11:07 +03:00
2019-01-30 15:24:31 +00:00
2019-01-30 11:17:38 +02:00
2019-05-07 07:11:07 +03:00
2019-01-30 11:17:38 +02:00
2018-12-03 14:40:35 +01:00
2019-01-30 11:17:38 +02:00
2019-02-07 20:18:14 +02:00
2019-06-28 16:43:25 +03:00
2019-01-30 11:17:38 +02:00
2019-01-30 11:17:38 +02:00
2019-06-24 14:06:41 +02:00
2019-06-24 14:06:41 +02:00
2019-06-28 16:43:25 +03:00
2019-05-07 09:58:21 +03:00
2019-07-12 19:21:26 +03:00
2019-08-02 11:13:54 +02:00
2019-06-28 16:43:25 +03:00
2018-11-01 10:19:32 +02:00
2019-05-07 10:00:58 +03:00
2019-07-15 17:38:00 +03:00
2019-07-15 17:38:00 +03:00
2019-07-16 13:35:53 -04:00
2019-05-07 07:11:07 +03:00
2019-03-28 14:21:10 +02:00
2019-07-29 17:15:51 +02:00
2019-01-20 15:55:20 +02:00
2019-05-07 07:11:07 +03:00
2019-05-07 07:11:07 +03:00
2019-06-28 16:43:25 +03:00
2019-06-13 10:38:56 +03:00
2019-07-28 10:59:50 +03:00
2019-04-29 10:24:14 +03:00
2019-01-30 11:17:38 +02:00
2019-03-04 10:23:45 +00:00
2019-06-17 15:23:24 +03:00
2019-03-28 14:21:10 +02:00
2019-06-28 15:20:39 +03:00
2019-03-22 09:11:26 +08:00
2019-03-28 14:21:10 +02:00
2019-01-30 11:17:38 +02:00
2019-02-07 20:18:14 +02:00
2019-01-30 11:17:38 +02:00
2019-06-13 14:45:48 +03:00
2018-11-01 13:16:17 +00:00
2019-03-26 11:52:44 +01:00
2019-01-30 11:17:38 +02:00
2019-06-12 13:14:53 +03:00
2019-05-07 10:00:58 +03:00
2019-02-07 20:18:14 +02:00
2019-07-10 12:06:10 +02:00
2018-11-21 00:01:44 +02:00
2018-11-21 00:01:44 +02:00
2019-02-14 22:37:41 +02:00
2019-07-15 17:38:00 +03:00
2018-11-21 00:01:44 +02:00
2019-06-28 16:43:25 +03:00
2019-07-21 16:42:54 +03:00
2019-01-08 13:16:36 +02:00
2019-04-10 18:05:36 +02:00
2019-01-30 11:17:38 +02:00
2019-01-30 11:17:38 +02:00
2019-07-27 13:21:24 +03:00
2019-08-01 13:05:46 +03:00
2019-08-01 13:03:03 +03:00
2019-07-15 17:38:00 +03:00
2019-07-15 17:38:00 +03:00
2019-01-30 11:17:38 +02:00
2019-01-30 11:17:38 +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-05-13 19:30:50 +02:00
2019-05-13 19:18:20 +02:00
2019-06-28 16:43:25 +03:00
2019-04-02 19:08:25 +03:00
2019-07-15 17:38:00 +03:00
2019-07-15 17:38:00 +03:00
2019-07-15 17:38:00 +03:00
2019-01-08 13:16:36 +02:00
2018-11-01 13:16:17 +00:00
2019-01-22 18:24:52 -05:00
2019-04-29 19:56:20 -07:00
2019-01-30 11:17:38 +02:00
2018-11-21 00:01:44 +02:00
2019-01-08 13:16:36 +02:00
2019-07-28 10:59:50 +03:00
2019-01-30 11:17:38 +02:00
2019-07-19 11:58:42 +02:00
2019-01-30 11:17:38 +02:00
2019-07-19 11:58:42 +02:00
2019-01-30 11:17:38 +02:00
2019-07-15 23:24:16 +02:00
2019-01-18 17:49:46 +02:00
2019-03-28 14:21:10 +02:00
2019-08-05 14:55:56 +02:00
2019-08-08 14:11:35 +03:00
2019-08-06 15:11:19 +03:00
2019-03-26 16:05:08 +02:00
2018-11-24 20:16:54 -02:00
2019-04-11 18:50:42 +03:00
2019-03-26 16:05:08 +02:00
2019-03-28 14:21:10 +02:00
2019-01-22 18:25:01 -05:00
2019-03-26 16:24:19 +02:00
2019-02-11 14:45:43 +02:00
2019-07-16 10:37:17 +03:00
2019-03-26 16:05:08 +02:00
2019-02-11 17:14:47 +02:00
2019-02-11 17:14:47 +02:00
2019-07-08 15:28:21 +00:00
2019-03-28 14:21:10 +02:00
2019-05-07 10:00:58 +03:00
2019-01-08 13:16:36 +02:00
2019-01-30 11:17:38 +02:00
2019-02-13 09:08:12 +00:00
2019-07-16 19:16:56 +03:00
2018-12-05 21:51:01 +02:00
2019-03-26 16:24:19 +02:00
2019-06-28 16:43:25 +03:00
2019-06-28 16:43:25 +03:00
2019-03-14 13:37:06 +00:00
2019-07-12 18:09:15 +02:00