appendFsync property

String? appendFsync
getter/setter pair

fsync configuration.

Optional. Possible string values are:

  • "APPEND_FSYNC_UNSPECIFIED" : Not set. Default: EVERYSEC
  • "NO" : Never fsync. Normally Linux will flush data every 30 seconds with this configuration, but it's up to the kernel's exact tuning.
  • "EVERYSEC" : fsync every second. Fast enough, and you may lose 1 second of data if there is a disaster
  • "ALWAYS" : fsync every time new commands are appended to the AOF. It has the best data loss protection at the cost of performance

Implementation

core.String? appendFsync;