-
Notifications
You must be signed in to change notification settings - Fork 282
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
feat(relay): configurable db_open retry mechanism added and in driver #2384
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@sandeepnRES Add a bit more description to your initial comment: Go version upgrades, need for the retry logic (to manage concurrent accesses to a LevelDB instance so that protocols don't fail because of temporary resource contention.) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sandeepnRES On top of what Rama said I also highly recommend having a message body for your commit instead of just adding the details to the GitHub PR description.
The PR description is stored in the private databases of GitHub, the commit message body is stored in the git commit log which is public (so they are very different from each other even though the GUI of GitHub makes them feel like the same thing).
f98c6bd
to
ec5ccc4
Compare
Hi @petermetz I've modified the the PR description as per Rama's comments, and also added same in commit message. But it seems PR is blocked because your have marked as |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sandeepnRES Thank you for making those changes! LGTM
To manage concurrent accesses to a LevelDB instance so that protocols don't fail because of temporary resource contention, added two env variables in driver and config variables in relay to configure retry mechanism while opening database: - Max number of retries - Backoff time in milli seconds. Additionally upgraded go versions to v1.20 in publish workflows. Signed-off-by: Sandeep Nishad <[email protected]>
To manage concurrent accesses to a LevelDB instance so that protocols
don't fail because of temporary resource contention, added two env
variables in driver and config variables in relay to configure retry
mechanism while opening database:
Additionally upgraded go versions to v1.20 in publish workflows.