mirror of https://github.com/apache/cassandra
Partial backport of CASSANDRA-8739 - avoid LCS overlap in L1
Patch by Stefania Alborghetti; reviewed by marcuse for CASSANDRA-8656
This commit is contained in:
parent
b6a31fb5b9
commit
8fcb620d95
|
|
@ -547,6 +547,8 @@ public class LeveledManifest
|
|||
Set<SSTableReader> l1overlapping = overlapping(candidates, generations[1]);
|
||||
if (Sets.intersection(l1overlapping, compacting).size() > 0)
|
||||
return Collections.emptyList();
|
||||
if (!overlapping(candidates, compactingL0).isEmpty())
|
||||
return Collections.emptyList();
|
||||
candidates = Sets.union(candidates, l1overlapping);
|
||||
}
|
||||
if (candidates.size() < 2)
|
||||
|
|
|
|||
Loading…
Reference in New Issue