This commit is contained in:
Rob Austin
2020-05-21 11:55:15 +01:00
parent 528e09bd0c
commit 911258b066
@@ -120,7 +120,14 @@ class OldDeletedEntriesCleanupThread extends Thread
return;
while (!shutdown) {
int nextSegmentIndex = cleanupSegment();
int nextSegmentIndex;
try {
nextSegmentIndex = cleanupSegment();
} catch (Exception e) {
if (shutdown)
break;
throw e;
}
if (nextSegmentIndex == -1)
return;
if (nextSegmentIndex == 0) {