[WAL] wal_autocheckpoint_entries setting#20720
Merged
Mytherin merged 11 commits intoduckdb:v1.5-variegatafrom Feb 2, 2026
Merged
[WAL] wal_autocheckpoint_entries setting#20720Mytherin merged 11 commits intoduckdb:v1.5-variegatafrom
Mytherin merged 11 commits intoduckdb:v1.5-variegatafrom
Conversation
Contributor
Author
|
Perhaps I should move the reset to the WAL constructor? |
Mytherin
reviewed
Jan 28, 2026
Collaborator
Mytherin
left a comment
There was a problem hiding this comment.
Thanks for the PR! LGTM - some minor comments
Contributor
Author
|
Thanks for the review @Mytherin! added the changes |
taniabogatsch
approved these changes
Jan 29, 2026
Contributor
taniabogatsch
left a comment
There was a problem hiding this comment.
Looks good from my side - @Mytherin, we changed the count to entries instead of transactions to stay consistent with the existing metric.
Contributor
Author
|
Ah, forgot to zero initialize the new wal_entries_count, since atomics are only zero initialized in static and thread local objects. going to fix that now. |
Contributor
Author
|
I also re-introduced the ResetWALEntryCount() for this since it is now used in the WAL constructor. |
Collaborator
|
Thanks! Looks good |
krlmlr
added a commit
to krlmlr/duckdb-r
that referenced
this pull request
Feb 28, 2026
Date: 2026-02-02 15:48:03 +0100 [WAL] wal_autocheckpoint_entries setting (duckdb/duckdb#20720) add index iterate patch to spatial (duckdb/duckdb#20775) [chore] Fixup autocomplete missing std::move (duckdb/duckdb#20773)
krlmlr
added a commit
to duckdb/duckdb-r
that referenced
this pull request
Feb 28, 2026
Date: 2026-02-02 15:48:03 +0100 [WAL] wal_autocheckpoint_entries setting (duckdb/duckdb#20720) add index iterate patch to spatial (duckdb/duckdb#20775) [chore] Fixup autocomplete missing std::move (duckdb/duckdb#20773)
krlmlr
added a commit
to krlmlr/duckdb-r
that referenced
this pull request
Feb 28, 2026
Date: 2026-02-02 15:48:03 +0100 [WAL] wal_autocheckpoint_entries setting (duckdb/duckdb#20720) add index iterate patch to spatial (duckdb/duckdb#20775) [chore] Fixup autocomplete missing std::move (duckdb/duckdb#20773)
krlmlr
added a commit
to krlmlr/duckdb-r
that referenced
this pull request
Feb 28, 2026
Date: 2026-02-02 15:48:03 +0100 [WAL] wal_autocheckpoint_entries setting (duckdb/duckdb#20720) add index iterate patch to spatial (duckdb/duckdb#20775) [chore] Fixup autocomplete missing std::move (duckdb/duckdb#20773)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
For: https://github.com/duckdblabs/duckdb-internal/issues/6642
Setting to auto checkpoint based on the number of entries that were written to the WAL.