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

Commits on Dec 11, 2023

  1. Configuration menu
    Copy the full SHA
    c3c8001 View commit details
    Browse the repository at this point in the history
  2. CXXCBC-368: Subscribe to clustermap notifications to speedup failover

    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.
    avsej committed Dec 11, 2023
    Configuration menu
    Copy the full SHA
    c2f7e58 View commit details
    Browse the repository at this point in the history
  3. detect sequence change in the node lists and fix the order

    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.
    avsej committed Dec 11, 2023
    Configuration menu
    Copy the full SHA
    7a086ee View commit details
    Browse the repository at this point in the history