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 this page specifically documenting version 2.5.0 of the \u003ccode\u003eDataProtectionMode\u003c/code\u003e for Google Cloud Redis.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDataProtectionMode\u003c/code\u003e enum offers three modes of operation regarding data retention during instance failover.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eForceDataLoss\u003c/code\u003e field indicates that failover will occur without data loss control, potentially leading to data loss.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLimitedDataLoss\u003c/code\u003e field ensures that failover will only proceed if the replication offset difference between the primary and replica instances is under a specific threshold.\u003c/p\u003e\n"],["\u003cp\u003eIf no \u003ccode\u003eDataProtectionMode\u003c/code\u003e is selected, it defaults to \u003ccode\u003eLimitedDataLoss\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]