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

Consider retrying commits when CAS is slow at the database level #8474

Open
dimas-b opened this issue May 7, 2024 · 1 comment
Open

Consider retrying commits when CAS is slow at the database level #8474

dimas-b opened this issue May 7, 2024 · 1 comment

Comments

@dimas-b
Copy link
Member

dimas-b commented May 7, 2024

Issue description

Nessie can use retries at the database client level (e.g. with Bigtable) for normal reads.

However, when committing CAS operations (e.g. CheckAndMutateRow in Bigtable) are not idempotent and normally will not retry at the database client level.

Still, Nessie itself can re-attempt the whole commit when the CAS operation is slower than normal. The overhead of rebuilding the commit state is probably negligible in cases when the whole database communication channel slows down.

@snazy
Copy link
Member

snazy commented May 19, 2024

Looks like this would be fixed via #8533

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

No branches or pull requests

2 participants