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

make NewRouter tolerant to the cluster's degraded state (resolve #13) #39

Merged

Conversation

nurzhan-saktaganov
Copy link
Contributor

@nurzhan-saktaganov nurzhan-saktaganov commented Jan 22, 2025

make NewRouter tolerant to the cluster's degraded state (resolve #13)

  • DiscoveryAllBuckets: don't cancel requests to other replicasets if request to some replicaset failed.
  • add test for degraded cluster (TestDegradedCluster)
  • AddReplicaset: don't fail if there are no available RW instances
  • NewRouter: don't fail if DiscoveryAllBuckets has returned an error

What has been done? Why? What problem is being solved?

I didn't forget about (remove if it is not applicable):

Related issues:

@nurzhan-saktaganov nurzhan-saktaganov changed the title make NewRouter tolerant to the cluster's degraded state (resolve issue #13) make NewRouter tolerant to the cluster's degraded state (resolve #13) Jan 22, 2025
…tarantool#13)

* DiscoveryAllBuckets: don't cancel requests to other replicasets if request to some replicaset failed.
* add test for degraded cluster (TestDegradedCluster)
* AddReplicaset: don't fail if there are no available RW instances
* NewRouter: don't fail if DiscoveryAllBuckets has returned an error
@nurzhan-saktaganov nurzhan-saktaganov force-pushed the nsaktaganov_resolve_issue_13 branch from 9659ca6 to 22ebf4d Compare January 22, 2025 19:55
@KaymeKaydex KaymeKaydex self-requested a review January 23, 2025 08:06
@KaymeKaydex KaymeKaydex merged commit c78cbe7 into tarantool:master Jan 23, 2025
7 of 8 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.

Make NewRouter tolerant to the cluster's degraded state
2 participants