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

EVA-1851 - Allow block allocation to recover from constraint violations #62

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

sundarvenkata-EBI
Copy link
Member

After some experimenting with concurrent runs of the accessioning pipeline across multiple machines, I discovered that the exponential backoff without any random jitter causes the concurrent instances to attempt the block allocation at the same intervals. Staggering this backoff with a random jitter (ExponentialBackoff.java) allows competing instances to properly secure the resources required for block allocation.

@sundarvenkata-EBI sundarvenkata-EBI requested review from andresfsilva, jorizci and jmmut and removed request for andresfsilva, jorizci and jmmut March 20, 2020 11:20
@sundarvenkata-EBI
Copy link
Member Author

@jmmut @jorizci @andresfsilva While the PR code works with the embedded database for the tests, I just ran into issues in the DEV database. I will move this ticket back to "In progress"....

@sundarvenkata-EBI sundarvenkata-EBI force-pushed the fix/recover_from_block_alloc_failures branch from f5ef446 to ac26c16 Compare March 23, 2020 08:35
@tcezard tcezard marked this pull request as draft June 15, 2020 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants