mirror of https://github.com/apache/cassandra
fix infinite recompaction in L0
This commit is contained in:
parent
19c3bd3b3b
commit
f34bd79b9a
|
|
@ -479,7 +479,7 @@ public class LeveledManifest
|
|||
candidates.addAll(overlapping(candidates, generations[1]));
|
||||
}
|
||||
|
||||
return candidates;
|
||||
return candidates.size() > 1 ? candidates : Collections.<SSTableReader>emptyList();
|
||||
}
|
||||
|
||||
// for non-L0 compactions, pick up where we left off last time
|
||||
|
|
|
|||
Loading…
Reference in New Issue