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

CXXCBC-403: Allow retries for KV not_my_vbucket response #480

Merged
merged 1 commit into from
Dec 11, 2023

Conversation

thejcfactor
Copy link
Contributor

Motivation

Currently if a KV operation receives a NMVB, it is possible the operation will raise a request_canceled error. When the client receives a NMVB there are circumstances in which we should attempt to retry the operation instead of raising a request_canceled.

Changes

Update logic for handling NMVB KV responses so that retries are possible when appropriate.

Motivation
----------
Currently if a KV operation receives a NMVB, it is possible the
operation will raise a request_canceled error. When the client receives
a NMVB there are circumstances in which we should attempt to retry the
operation instead of raising a request_canceled.

Changes
-------
Update logic for handling NMVB KV responses so that retries are possible
when appropriate.
@avsej avsej merged commit 12b95b4 into couchbase:main Dec 11, 2023
12 of 14 checks passed
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