-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: snapshot when wal buffer is empty
- This commit changes the functionality to allow snapshots to happen even when wal buffer is empty. For snapshots wal periods are still required but not the wal buffer. To allow this, we write a no-op into wal file with snapshot details. This enables force snapshotting functionality closes: #25685
- Loading branch information
1 parent
dfc853d
commit eed5a46
Showing
11 changed files
with
536 additions
and
190 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -319,6 +319,7 @@ impl LastCacheProvider { | |
} | ||
} | ||
WalOp::Catalog(_) => (), | ||
WalOp::Noop(_) => (), | ||
} | ||
} | ||
} | ||
|
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,3 +34,6 @@ tokio.workspace = true | |
|
||
[lints] | ||
workspace = true | ||
|
||
[dev-dependencies] | ||
test-log.workspace = true |
This file contains 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
Oops, something went wrong.