Skip to content

Conversation

@jjezra
Copy link
Contributor

@jjezra jjezra commented Nov 6, 2025

Catching an exception, the IndexingMerger attempts to detect if it should lessen work and retry. Currently it is an include list of known "retyable" errors. If the error is not detected correctly, or not predicted, it will not retry.
Being a background process, however, it is better and safer to retry by default.

Resolves #3731

 Catching an exception, the IndexingMerger attempts to detect if it should lessen work and retry. Currently it is an include list of known "retyable"
 errors. If the error is not detected correctly, or not predicted, it will not retry.
 Being a background process, however, it is better and safer to retry by default.

  Resolves FoundationDB#3731
@jjezra jjezra added the enhancement New feature or request label Nov 6, 2025
if (ex == null) {
return false;
}
final Set<Integer> lessenWorkCodes = new HashSet<>(Arrays.asList(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This set can be declared as a static instance - no need to instantiate every time

@jjezra jjezra requested a review from ohadzeliger November 7, 2025 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

IndexingMerger: lessen work and retry by default

2 participants