-
Notifications
You must be signed in to change notification settings - Fork 59
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
Idempotent flag ignored for retries #331
Comments
if we decide to merge upstream, resp. fix this |
@tarzanek the flag is settable by the user. |
@pdbossman the scylla-go-driver is a repo for a gocql replacement project that was started, but never finished. |
Unfortunately, I don't have permissions to transfer this issue there. |
I don't really work with any Go drivers and have no permissions for those repositories. |
I don't have permissions to scylla-go-driver do I cannot transfer the issue |
Done! |
We need to let retry policy to decide, if it is retries in these circumstances.
While we are doing that we need to remember that some customers rely on current behavior and we either should not break it and then we can release it as next patch version, if it is not possible then we need to have a clear message in the change log and go with minor release. |
Hello,
I was testing goCQL behavior with request shedding enabled. So I set
max_concurrent_requests_per_shard: 10
I was testing vanilla insert with value clause.
Initially, requestRetryPolicy was disabled, and I received shedding errors.
I then enabled requestRetryPolicy with ExponentialBackoffRetryPolicy.
As expected, queries were retried. I still observed shedding in monitoring, but the driver retried the requests with exponential backoff.
I then tested with idempotent set to false.
Problem: Even with Idemotent false, which should block retry - the queries were still retried with exponential backoff policy. It also looks like it might be in general for all retries (speculative and timeout):
apache@92b4056
All retry policies should honor the idempotent flag.
The text was updated successfully, but these errors were encountered: