Module: Google::Cloud::Memorystore::V1::PersistenceConfig::AOFConfig::AppendFsync

Defined in:
proto_docs/google/cloud/memorystore/v1/memorystore.rb

Overview

Possible fsync modes.

Constant Summary collapse

APPEND_FSYNC_UNSPECIFIED =

Not set. Default: EVERY_SEC

0
NEVER =

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

1
EVERY_SEC =

Fsync every second. 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. The best data loss protection at the cost of performance.

3