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 write 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 2025-09-09 UTC."],[],[],null,["# Google Cloud Memorystore for Redis V1 API - Module Google::Cloud::Redis::Cluster::V1::ClusterPersistenceConfig::AOFConfig::AppendFsync (v1.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.0 (latest)](/ruby/docs/reference/google-cloud-redis-cluster-v1/latest/Google-Cloud-Redis-Cluster-V1-ClusterPersistenceConfig-AOFConfig-AppendFsync)\n- [1.0.1](/ruby/docs/reference/google-cloud-redis-cluster-v1/1.0.1/Google-Cloud-Redis-Cluster-V1-ClusterPersistenceConfig-AOFConfig-AppendFsync)\n- [0.6.0](/ruby/docs/reference/google-cloud-redis-cluster-v1/0.6.0/Google-Cloud-Redis-Cluster-V1-ClusterPersistenceConfig-AOFConfig-AppendFsync)\n- [0.5.0](/ruby/docs/reference/google-cloud-redis-cluster-v1/0.5.0/Google-Cloud-Redis-Cluster-V1-ClusterPersistenceConfig-AOFConfig-AppendFsync)\n- [0.4.2](/ruby/docs/reference/google-cloud-redis-cluster-v1/0.4.2/Google-Cloud-Redis-Cluster-V1-ClusterPersistenceConfig-AOFConfig-AppendFsync)\n- [0.3.0](/ruby/docs/reference/google-cloud-redis-cluster-v1/0.3.0/Google-Cloud-Redis-Cluster-V1-ClusterPersistenceConfig-AOFConfig-AppendFsync)\n- [0.2.2](/ruby/docs/reference/google-cloud-redis-cluster-v1/0.2.2/Google-Cloud-Redis-Cluster-V1-ClusterPersistenceConfig-AOFConfig-AppendFsync)\n- [0.1.0](/ruby/docs/reference/google-cloud-redis-cluster-v1/0.1.0/Google-Cloud-Redis-Cluster-V1-ClusterPersistenceConfig-AOFConfig-AppendFsync) \nReference documentation and code samples for the Google Cloud Memorystore for Redis V1 API module Google::Cloud::Redis::Cluster::V1::ClusterPersistenceConfig::AOFConfig::AppendFsync.\n\nAvailable fsync modes.\n\nConstants\n---------\n\n### APPEND_FSYNC_UNSPECIFIED\n\n**value:** 0 \nNot set. Default: EVERYSEC\n\n### NO\n\n**value:** 1 \nNever fsync. Normally Linux will flush data every 30 seconds with this\nconfiguration, but it's up to the kernel's exact tuning.\n\n### EVERYSEC\n\n**value:** 2 \nfsync every second. Fast enough, and you may lose 1 second of data if\nthere is a disaster\n\n### ALWAYS\n\n**value:** 3 \nfsync every time new write commands are appended to the AOF. It has the\nbest data loss protection at the cost of performance"]]