Skip to content

Skip dirty page tracking in WAL mode#202

Merged
benbjohnson merged 1 commit intomainfrom
skip-dirty-tracking-wal
Nov 25, 2022
Merged

Skip dirty page tracking in WAL mode#202
benbjohnson merged 1 commit intomainfrom
skip-dirty-tracking-wal

Conversation

@benbjohnson
Copy link
Collaborator

This PR ignores dirty page tracking when in WAL mode. This is only needed for rollback journal modes (DELETE, PERSIST, TRUNCATE) since pages are overwritten in-place. The WAL, however, appends pages so it's easy to determine the change set.

We may be able to calculate dirty pages at commit time for those rollback journal modes but that's for a separate PR.

@benbjohnson benbjohnson added this to the v0.3.0 milestone Nov 25, 2022
@benbjohnson benbjohnson merged commit ba60d15 into main Nov 25, 2022
@benbjohnson benbjohnson deleted the skip-dirty-tracking-wal branch November 25, 2022 21:18
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