Skip to content
Snippets Groups Projects
Commit 59d0e081 authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

Thread-based WAL writer: a piecewise port.

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.
parent 4c8274ad
No related branches found
No related tags found
Loading
Showing with 1030 additions and 639 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment