Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add option to flush WAL on shutdown #25452

Merged
merged 1 commit into from
Oct 15, 2024
Merged

Conversation

gwossum
Copy link
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
25 checks passed
@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