Module: Google::Cloud::Redis::Cluster::V1beta1::ClusterPersistenceConfig::AOFConfig::AppendFsync

Defined in:
proto_docs/google/cloud/redis/cluster/v1beta1/cloud_redis_cluster.rb

Overview

Available fsync modes.

Constant Summary collapse

APPEND_FSYNC_UNSPECIFIED =

Not set. Default: EVERYSEC

0
NO =

Never fsync. Normally Linux will flush data every 30 seconds with this configuration, but it's up to the kernel's exact tuning.

1
EVERYSEC =

fsync every second. Fast enough, and you may lose 1 second of data if there is a disaster

2
ALWAYS =

fsync every time new write commands are appended to the AOF. It has the best data loss protection at the cost of performance

3