Skip to content

Add oxia.server.walSyncData to optionally disable WAL fsync for testing#696

Merged
lhotari merged 1 commit into
apache:masterfrom
lhotari:lh-oxia-disable-fsync-option-for-testing
Jun 24, 2026
Merged

Add oxia.server.walSyncData to optionally disable WAL fsync for testing#696
lhotari merged 1 commit into
apache:masterfrom
lhotari:lh-oxia-disable-fsync-option-for-testing

Conversation

@lhotari

@lhotari lhotari commented Jun 24, 2026

Copy link
Copy Markdown
Member

Add an oxia.server.walSyncData value (default "true"). When the key is present and set to false, the oxia server StatefulSet passes --wal-sync-data=false so WAL data is not fsynced to disk after each write.

The flag is only emitted when the key exists and is explicitly false (string or boolean), so sync data cannot be turned off accidentally by an unset or default value. The flag name matches the oxia 0.16.7 CLI (--wal-sync-data, a pflag boolean, hence the =false form).

Also enable it in examples/values-disable-fsync.yaml and document it there and in examples/README.md alongside the BookKeeper and ZooKeeper fsync toggles.

Add an `oxia.server.walSyncData` value (default "true"). When the key is
present and set to false, the oxia server StatefulSet passes
`--wal-sync-data=false` so WAL data is not fsynced to disk after each write.

The flag is only emitted when the key exists and is explicitly false (string
or boolean), so sync data cannot be turned off accidentally by an unset or
default value. The flag name matches the oxia 0.16.7 CLI (`--wal-sync-data`,
a pflag boolean, hence the `=false` form).

Also enable it in examples/values-disable-fsync.yaml and document it there and
in examples/README.md alongside the BookKeeper and ZooKeeper fsync toggles.
@lhotari lhotari merged commit a34b236 into apache:master Jun 24, 2026
76 of 78 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant