-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Implement raft-wal #21460
Merged
Merged
Implement raft-wal #21460
Changes from all commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
ca1c92f
Implement raft-wal
raskchanky c45413f
go mod tidy
raskchanky 27aede1
add metrics, fix a panic
raskchanky 3f0c104
fix the panic for real this time
raskchanky d669640
Merge branch 'main' into raft-wal
raskchanky fd567dd
PR feedback
raskchanky 567243f
refactor tests to use a helper and reduce duplication
raskchanky 3d03e8c
add a test to verify we don't use raft-wal if raft.db exists
raskchanky bee2d0b
Merge branch 'main' into raft-wal
raskchanky 766c53b
add config to enable the verifier
raskchanky b00ae66
add tests for parsing verification intervals
raskchanky bed9e34
run the verifier in the background
raskchanky 555afb4
wire up the verifier
raskchanky 1fb11f4
go mod tidy
raskchanky 3110582
Merge branch 'main' into raft-wal
raskchanky 753a2dc
Merge branch 'main' into raft-wal
raskchanky 2e17d60
refactor config parsing
raskchanky 03081f3
remove unused function
raskchanky c2156b0
trying to get the verifier working
raskchanky 1a5dfac
wire up some more verifier bits
raskchanky 6aafd64
Merge branch 'main' into raft-wal
raskchanky d2a79dc
sorted out an error, added a new test, lots of debug logging that nee…
raskchanky 26d11e2
fix a bug and remove all the debugging statements
raskchanky f4e6022
make sure we close raft-wal stablestore too
raskchanky fcf2d0a
Merge branch 'main' into raft-wal
hghaf099 2fcd0d8
Merge branch 'main' into raft-wal
raskchanky 2a03747
Merge branch 'main' into raft-wal
hghaf099 57a1f2c
Merge branch 'main' into raft-wal
hghaf099 2fae68d
Merge branch 'main' into raft-wal
raskchanky dbb0f8c
Merge branch 'main' into raft-wal
raskchanky b4aa0fd
run verifier tests for both boltdb and raft-wal
raskchanky a7b31cc
Merge branch 'main' into raft-wal
raskchanky 9f567cd
Merge branch 'main' into raft-wal
raskchanky d70b266
Merge branch 'main' into raft-wal
raskchanky 6071268
PR feedback
raskchanky 1bb29b3
Vault 20270 docker test raft wal (#24463)
hghaf099 4c5f434
Merge branch 'main' into raft-wal
raskchanky fa90807
Update physical/raft/raft.go
raskchanky 395984b
PR feedback
raskchanky 54448fb
change verifier function
raskchanky af9b42f
Merge branch 'main' into raft-wal
raskchanky 7d42da4
make this shorter
raskchanky b9e433e
Merge branch 'main' into raft-wal
raskchanky 83ea124
add changelog
raskchanky 293f027
Fix Close behavior
banks fab75fe
make supporting empty logs more explicit
raskchanky dfd68eb
add some godocs
raskchanky File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
```release-note:feature | ||
storage/raft: Add experimental support for raft-wal, a new backend engine for integrated storage. | ||
``` |
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
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.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@raskchanky next time please use the correct new feature formatting for new features in the changelog.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the reminder. I did correct this in a subsequent PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems like a good candidate for a new CI check, so that we don't have to rely on humans remembering to always do the right thing in several different scenarios.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@raskchanky I've added an agenda item to discuss new requirements for the changelog checking tooling.