When auto_failover_disabled is set, requests will NOT be routed to a healthy replica outside the list when all replicas in the list are unavailable/unhealthy.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-22 UTC."],[[["\u003cp\u003eThis document outlines the \u003ccode\u003eIncludeReplicas\u003c/code\u003e class within the Google Cloud Spanner C++ library, providing versioned documentation from 2.11.0 up to the latest release candidate 2.37.0-rc.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eIncludeReplicas\u003c/code\u003e class manages an ordered list of \u003ccode\u003eReplicaSelection\u003c/code\u003e objects to determine which replicas should handle requests.\u003c/p\u003e\n"],["\u003cp\u003eThe constructor for \u003ccode\u003eIncludeReplicas\u003c/code\u003e takes an initializer list of \u003ccode\u003eReplicaSelection\u003c/code\u003e and a boolean, \u003ccode\u003eauto_failover_disabled\u003c/code\u003e, as parameters.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eauto_failover_disabled\u003c/code\u003e setting, if enabled, restricts requests to only the specified replicas, even if other healthy replicas exist outside of the provided list.\u003c/p\u003e\n"],["\u003cp\u003eThe class also has two functions \u003ccode\u003ereplica_selections() const\u003c/code\u003e that returns a vector of \u003ccode\u003eReplicaSelection\u003c/code\u003e objects, and \u003ccode\u003eauto_failover_disabled() const\u003c/code\u003e that returns the \u003ccode\u003ebool\u003c/code\u003e value of the parameter.\u003c/p\u003e\n"]]],[],null,[]]