Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cherrypick lock backoff retry to 3.8 #18653

Open
wants to merge 1 commit into
base: 3.8
Choose a base branch
from

Conversation

aliehsaeedii
Copy link
Contributor

This PR cherry-picks the commits of this and this PR to 3.8.
The above-listed two PRs aim at implementing exponential back off retry for state directory lock to increase the time between two consecutive attempts of acquiring the lock.

@aliehsaeedii
Copy link
Contributor Author

@cadonna Call for review.
Thanks

Comment on lines +357 to +361
try {
Thread.sleep(updateOrCreateBackoffRecord(taskId));
} catch (final InterruptedException e) {
throw new RuntimeException(e);
}
Copy link
Member

Choose a reason for hiding this comment

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

Where does this come from?

@cadonna
Copy link
Member

cadonna commented Jan 21, 2025

Did you do a cherry-pick from 3.9 to 3.8? I suppose that is the simplest way to cherry pick this change to 3.8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants