Skip to content

feat: add option to flush WAL on shutdown#25452

Merged
gwossum merged 1 commit into2.7from
gw/25450/wal-flush-backport-2.7
Oct 15, 2024
Merged

feat: add option to flush WAL on shutdown#25452
gwossum merged 1 commit into2.7from
gw/25450/wal-flush-backport-2.7

Conversation

@gwossum
Copy link
Copy Markdown
Member

@gwossum gwossum commented Oct 10, 2024

Add --storage-wal-flush-on-shutdown to flush WAL on database shutdown. On successful shutdown, all WAL data will be committed to TSM files and the WAL directories will not contain any .wal files.

Clean cherry-pick of #25444 from main-2.x.

Closes: #25450
(cherry picked from commit 96bade4)

Add `--storage-wal-flush-on-shutdown` to flush WAL on database shutdown.
On successful shutdown, all WAL data will be committed to TSM files and the
WAL directories will not contain any .wal files.

Clean cherry-pick of #25444 from main-2.x.

Closes: #25422
(cherry picked from commit 96bade4)
@gwossum gwossum self-assigned this Oct 10, 2024
@gwossum gwossum added area/tsm kind/feature area/2.x OSS 2.0 related issues and PRs labels Oct 10, 2024
@gwossum gwossum marked this pull request as ready for review October 15, 2024 20:05
@gwossum gwossum merged commit 981f2fc into 2.7 Oct 15, 2024
@gwossum gwossum deleted the gw/25450/wal-flush-backport-2.7 branch October 15, 2024 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/tsm area/2.x OSS 2.0 related issues and PRs kind/feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants