Reference documentation and code samples for the Google Cloud Memorystore for Redis V1 API module Google::Cloud::Redis::Cluster::V1::ClusterPersistenceConfig::AOFConfig::AppendFsync.
Available fsync modes.
Constants
APPEND_FSYNC_UNSPECIFIED
value: 0 Not set. Default: EVERYSEC
NO
value: 1 Never fsync. Normally Linux will flush data every 30 seconds with this
configuration, but it's up to the kernel's exact tuning.
EVERYSEC
value: 2 fsync every second. Fast enough, and you may lose 1 second of data if
there is a disaster
ALWAYS
value: 3 fsync every time new commands are appended to the AOF. It has the best
data loss protection at the cost of performance
[[["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 2024-11-19 UTC."],[],[]]