Memorystore V1 API - Module Google::Cloud::Memorystore::V1::PersistenceConfig::AOFConfig::AppendFsync (v0.1.0)

Reference documentation and code samples for the Memorystore V1 API module Google::Cloud::Memorystore::V1::PersistenceConfig::AOFConfig::AppendFsync.

Possible fsync modes.

Constants

APPEND_FSYNC_UNSPECIFIED

value: 0
Not set. Default: EVERY_SEC

NEVER

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.

EVERY_SEC

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