Instance failover will be performed without data loss control.
LimitedDataLoss
Instance failover will be protected with data loss control. More
specifically, the failover will only be performed if the current
replication offset diff between primary and replica is under a certain
threshold.
Unspecified
Defaults to LIMITED_DATA_LOSS if a data protection mode is not
specified.
[[["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-07 UTC."],[[["\u003cp\u003eThe latest version available is 3.5.0, with versions ranging down to 2.2.0 for the \u003ccode\u003eDataProtectionMode\u003c/code\u003e feature within the \u003ccode\u003eGoogle.Cloud.Redis.V1\u003c/code\u003e library.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDataProtectionMode\u003c/code\u003e is an enumeration that specifies modes of operation related to data retention during instance failovers.\u003c/p\u003e\n"],["\u003cp\u003eThere are three defined fields for \u003ccode\u003eDataProtectionMode\u003c/code\u003e: \u003ccode\u003eForceDataLoss\u003c/code\u003e, which performs failover without data loss control; \u003ccode\u003eLimitedDataLoss\u003c/code\u003e, which performs failover with data loss control based on replication offset; and \u003ccode\u003eUnspecified\u003c/code\u003e, which defaults to \u003ccode\u003eLIMITED_DATA_LOSS\u003c/code\u003e if no mode is specified.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDataProtectionMode\u003c/code\u003e enumeration can be found in the \u003ccode\u003eGoogle.Cloud.Redis.V1\u003c/code\u003e namespace and is part of the \u003ccode\u003eGoogle.Cloud.Redis.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]