CosmosClientOptions.EnableRemoteRegionPreferredForSessionRetry Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides SessionTokenMismatchRetryPolicy optimization through customer supplied region switch hints, which guide SDK-internal retry policies on how early to fallback to the next applicable region. With a single-write-region account the next applicable region is the write-region, with a multi-write-region account the next applicable region is the next region in the order of effective preferred regions (same order also used for read/query operations).
public bool EnableRemoteRegionPreferredForSessionRetry { get; set; }
member this.EnableRemoteRegionPreferredForSessionRetry : bool with get, set
Public Property EnableRemoteRegionPreferredForSessionRetry As Boolean