[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This page details the `LimitedErrorCountRetryPolicy` for the Spanner C++ library, which retries operations up to a specified number of transient errors."],["The policy treats `kUnavailable`, `kResourceExhausted`, and `kInternal` (with connection reset messages) as transient errors, and stops if any non-transient error occurs."],["The policy's constructor, `LimitedErrorCountRetryPolicy(int)`, allows configuration of the maximum number of transient failures to tolerate, with setting `maximum_failures` to 0 effectively disabling retries."],["The `maximum_failures()`, `OnFailure()`, `IsExhausted()`, `IsPermanentFailure()`, and `clone()` functions are available for managing the retry process and policy state, including checking the current failure count and creating new instances."],["The page lists and provides links to various versions of this retry policy class, ranging from version 2.11.0 to the latest release candidate 2.37.0-rc."]]],[]]