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-368: Subscribe to clustermap notifications to speedup failover #490

Merged
merged 3 commits into from
Dec 13, 2023

Conversation

avsej
Copy link
Member

@avsej avsej commented Dec 11, 2023

Implement only deduplication flag from the RFC, and enable clustermap
change notifications. I this patch, we only want to use full
notifications, and do not turn off polling. So the SDK will be able to
receive new configuration sooner, but still be chatty as older versions.

Also this patch introduces tool cbc-beam that can send requests to specific vbucket or node id

@avsej avsej requested review from thejcfactor and a team December 11, 2023 15:19
@avsej avsej force-pushed the almost-faster-failover branch 3 times, most recently from c2f2c03 to 353de38 Compare December 11, 2023 17:14
Implement only deduplication flag from the RFC, and enable clustermap
change notifications. I this patch, we only want to use full
notifications, and do not turn off polling. So the SDK will be able to
receive new configuration sooner, but still be chatty as older versions.
It is possible that we will receive configuration, where nodes neither
removed, nor added, but still we need to check the order of them in
nodeExt, because at early stages of rebalance, ns_server might add new
nodes to the end of the nodesExt list (while not adding them to
serverList at all). In this case we don't want to keep this temporary
order forever, and should be able to detect this condition an reorder
them later.
Copy link
Contributor

@thejcfactor thejcfactor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

Node testing looks good as well (no errors during rebalance).

@avsej avsej merged commit a4f3e27 into couchbase:main Dec 13, 2023
13 of 14 checks passed
@avsej avsej deleted the almost-faster-failover branch December 13, 2023 18:57
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