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\u003eThis webpage documents different versions of \u003ccode\u003eDataProtectionMode\u003c/code\u003e within the \u003ccode\u003eGoogle.Cloud.Redis.V1\u003c/code\u003e namespace, ranging from version 2.2.0 to the latest version 3.5.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDataProtectionMode\u003c/code\u003e is an enum that specifies various modes of operation related to data retention during instance failover.\u003c/p\u003e\n"],["\u003cp\u003eThe available data protection modes include \u003ccode\u003eForceDataLoss\u003c/code\u003e, \u003ccode\u003eLimitedDataLoss\u003c/code\u003e, and \u003ccode\u003eUnspecified\u003c/code\u003e, with the latter defaulting to \u003ccode\u003eLimitedDataLoss\u003c/code\u003e if no mode is explicitly selected.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eForceDataLoss\u003c/code\u003e initiates failover without ensuring data safety, while \u003ccode\u003eLimitedDataLoss\u003c/code\u003e offers data loss control, only allowing failover when the primary and replica offset difference is below a defined threshold.\u003c/p\u003e\n"]]],[],null,[]]