[[["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 webpage details the `LimitedErrorCountTransactionRerunPolicy` for Cloud Spanner in C++, covering multiple versions from 2.11.0 up to the latest release candidate, 2.37.0-rc."],["The `LimitedErrorCountTransactionRerunPolicy` class manages transaction retries, halting the process if a non-transient error occurs or a predefined number of transient failures is exceeded."],["Transient errors considered by the policy include `kAborted` and `kNotFound` when related to a missing or expired Spanner session, where as non-transient errors will stop the process immediately."],["The policy's behavior can be configured during instantiation by providing an `int` that specifies the maximum number of transient errors tolerated, or 0 to disable the retry loop altogether."],["The class includes functions to check for maximum failures, handle failures, determine exhaustion, check for permanent failures, and create a clone of the current policy instance."]]],[]]