-
Konstantin Osipov authored
This patch introduces wal_mode configuration variable, which can take either "fsync" or "fsync_delay" values. In "fsync" mode, we open the write ahead log in O_SYNC mode, and thus sync every write to disk. Th fsync_delay mode is the backward-compatible mode: in this mode, we only do fsync once every fsync_delay seconds. If fsync_delay is 0, there is no fsync. Otherwise, this patch is only adding auxiliary headers, object files, etc.
Konstantin Osipov authoredThis patch introduces wal_mode configuration variable, which can take either "fsync" or "fsync_delay" values. In "fsync" mode, we open the write ahead log in O_SYNC mode, and thus sync every write to disk. Th fsync_delay mode is the backward-compatible mode: in this mode, we only do fsync once every fsync_delay seconds. If fsync_delay is 0, there is no fsync. Otherwise, this patch is only adding auxiliary headers, object files, etc.