Skip to content

Always use retry backoff in ZooReader(Writer)#3720

Merged
ctubbsii merged 3 commits intoapache:2.1from
ctubbsii:zk-mutate-backoff-on-always-retry
Aug 24, 2023
Merged

Always use retry backoff in ZooReader(Writer)#3720
ctubbsii merged 3 commits intoapache:2.1from
ctubbsii:zk-mutate-backoff-on-always-retry

Conversation

@ctubbsii
Copy link
Copy Markdown
Member

Always use the retry backoff when always retrying. This fixes an issue where an "always retry" condition is triggered, it will not barrage ZooKeeper with repeated immediate retries.

This fixes #3718

Always use the retry backoff when always retrying. This fixes an issue
where an "always retry" condition is triggered, it will not barrage
ZooKeeper with repeated immediate retries.

This fixes apache#3718
@ctubbsii ctubbsii self-assigned this Aug 24, 2023
@ctubbsii ctubbsii linked an issue Aug 24, 2023 that may be closed by this pull request
Comment thread core/src/main/java/org/apache/accumulo/core/fate/zookeeper/ZooReader.java Outdated
@ctubbsii
Copy link
Copy Markdown
Member Author

There was some discussion about changing the default maxWait interval being something longer than 5 seconds. I'm not so sure about that, but if that changes, it can be done in a separate change.

@ctubbsii ctubbsii merged commit fa796c6 into apache:2.1 Aug 24, 2023
@ctubbsii ctubbsii deleted the zk-mutate-backoff-on-always-retry branch August 24, 2023 19:31
@keith-turner
Copy link
Copy Markdown
Contributor

keith-turner commented Aug 24, 2023

Created #3723 to increase the max wait time.

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.

Mutating zookeeper may retry immediately in the case of collisions

3 participants