Skip to content

Investigating WAL behavior for supported platforms #82

Open
@yatli

Description

@yatli

Sometimes, a simpe fflush does not guarantee data hitting the disk. The cache on the disk hardware has to be also flushed. Different systems behave different wrt this issue. There's an API for this in NT but to my knowledge, only a global procfs toggle for Linux.

So it means we should at least print warnings in the log, if the toggle is not properly set.

Also, the file buffer should be flushed periodically to make sure that no data lingers for weak WAL.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions