Google Cloud Memorystore for Redis V1BETA1 API - Module Google::Cloud::Redis::Cluster::V1beta1::ClusterPersistenceConfig::AOFConfig::AppendFsync (v0.1.0)

Reference documentation and code samples for the Google Cloud Memorystore for Redis V1BETA1 API module Google::Cloud::Redis::Cluster::V1beta1::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