Skip to content

[automatic failover] Docs for dynamic weight management#3678#4447

Merged
atakavci merged 2 commits into
redis:masterfrom
atakavci:failover/docDynamicWeights
Feb 26, 2026
Merged

[automatic failover] Docs for dynamic weight management#3678#4447
atakavci merged 2 commits into
redis:masterfrom
atakavci:failover/docDynamicWeights

Conversation

@atakavci

Copy link
Copy Markdown
Contributor

Documentation and how-to-use examples for dynamic weight management with Client-side Geographic Failover.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds documentation and usage examples for dynamically adjusting MultiDb failover weights at runtime (client-side geographic failover), clarifying how weights influence active database selection.

Changes:

  • Add guide TOC entry and explanatory text noting runtime weight updates (since 7.4.0).
  • Introduce a new “Dynamic Weight Management” section with APIs, constraints, runtime behavior, and examples.
  • Provide monitoring example using database switch listener callbacks.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/failover.md
Comment thread docs/failover.md
ggivo
ggivo previously approved these changes Feb 26, 2026

@ggivo ggivo left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

On a second look, also those two examples seem to show the same scenario, probably we can keep just one of them

Example: Changing Active Database Priority

https://github.com/redis/jedis/pull/4447/changes#diff-8f80650d08ea077e9146abb984f85442e2092df70d16488605f84712a3fa77a4R506

Example: Controlled Database Switchover

https://github.com/redis/jedis/pull/4447/changes#diff-8f80650d08ea077e9146abb984f85442e2092df70d16488605f84712a3fa77a4R537

@atakavci atakavci merged commit bd248ef into redis:master Feb 26, 2026
12 checks passed
@atakavci atakavci deleted the failover/docDynamicWeights branch February 27, 2026 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants