DOC-6872 Document StackExchange.Redis Active-Active geo-failover - #3740
DOC-6872 Document StackExchange.Redis Active-Active geo-failover#3740andy-stark-redis wants to merge 3 commits into
Conversation
Add a client-side geographic failover page for StackExchange.Redis, covering the Availability namespace shipped in v3.1.0: connecting to a group of endpoints, per-endpoint and group configuration, circuit breakers, automatic retries, failback, manual failover, monitoring, and Pub/Sub re-subscription. Add StackExchange.Redis to the supported-clients table on the failover overview page. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
🧠 Redis MemoryFound 5 related items from repository history:
Memory updated at 533ca77 |
The StackExchange.Redis.Availability types are marked [Experimental] and emit the SER007 compiler diagnostic, so code using them will not build until it is suppressed. Add a note explaining this and giving both suppression methods (.csproj NoWarn and #pragma). The feature itself is fully supported/production-ready per upstream (docs/exp/SER007.md), so the support-table framing is unchanged. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
🧠 Redis MemoryFound 5 related items from repository history:
Memory updated at 58af957 |
|
Thanks @dwdougherty ! |
Ignore me, I see you've covered that. |
|
I guess there's always going to be a lot of duplication between these docs and the library docs, but: there's a lot of duplication here; a small part of me wonders whether "keep minimal, and link" is better, but: obviously please follow whatever the normal approach is |
🧠 Redis MemoryFound 5 related items from repository history:
Memory updated at ee2078b |
Yeah, this has always been an issue with some of these client-specific docs. I'm currently implementing some changes in the docs build so that our source files can be more like "standard" Markdown (they currently have loads of Hugo-specific stuff in them). This should hopefully give us the option of keeping all the client-specific docs in the SE.Redis repo and sharing the content between redis.io and the SE.Redis library docs. Note that I'm not pushing for this approach or recommending it yet but it might be something we could consider in the future if it's useful. Anyway, for now I'll continue with the existing approach for the geo failover docs, but thanks for sharing your thoughts about this. |
Description
Documents StackExchange.Redis's client-side geographic (Active-Active) failover support, shipped in the v3.1.0 GA release (StackExchange/StackExchange.Redis#3025).
Adds a new per-client page,
dotnet/failover.md, modeled on the existing Jedis and redis-py failover pages, covering theStackExchange.Redis.AvailabilityAPI:ConnectGroupAsync), endpoint and group configurationWithRetry), and which operations are safe to retryIsConnectedvsIsUnhealthy,FailbackDelay), manual failover (TryFailoverTo)Also adds a StackExchange.Redis row to the supported-clients table on the failover overview page.
Notes for reviewers
ConfigurationOptions, and upstream's custom-probe docs handle cluster key routing), but upstream has no section stating it outright. Worth confirming with the SE.Redis maintainer before merge.🤖 Generated with Claude Code
Note
Low Risk
Documentation-only changes with no runtime, auth, or data-path impact.
Overview
Adds StackExchange.Redis client-side geographic failover documentation for the v3.1.0
StackExchange.Redis.AvailabilityAPI, aligned with the existing Jedis/redis-py failover pages.The new
dotnet/failover.mdpage coversConnectGroupAsync/ConnectionGroupMembergroups,MultiGroupOptions(health checks, circuit breakers, retry policy),WithRetry()and command retry categories, failback (FailbackDelay,IsConnected/IsUnhealthy), runtime member management andTryFailoverTo(),ConnectionChangedmonitoring, and Pub/Sub with automatic re-subscription. It also documents theSER007/[Experimental]usage note for the availability namespace.The failover overview (
failover.md) links to the new page inrelatedPagesand adds a supported-clients table row listing basic failover, pub/sub failover, OSS cluster failover, and failback as Yes (GA, no preview marker).Reviewed by Cursor Bugbot for commit ee2078b. Bugbot is set up for automated code reviews on this repo. Configure here.