Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
import java.io.File;
import java.io.IOException;
import java.net.URISyntaxException;
import java.nio.BufferOverflowException;
import java.time.Duration;
import java.time.Instant;
import java.util.ArrayList;
Expand Down Expand Up @@ -1161,8 +1162,8 @@ protected SegmentBuildDescriptor buildSegmentInternal(boolean forCommit)
} catch (Exception e) {
String errorMessage = "Could not build segment";
FileUtils.deleteQuietly(tempSegmentFolder);
if (e instanceof IllegalStateException) {
// Precondition checks fail, the segment build would fail consistently
if (e instanceof IllegalStateException || e instanceof BufferOverflowException) {
// Index or forward index too large issue, the segment build would fail consistently
_segmentBuildFailedWithDeterministicError = true;
}
reportSegmentBuildFailure(errorMessage, e);
Expand Down
Loading