[release-1.15] fix(ovn-central): recover from invalid raft headers - #7122
Merged
zhangzujian merged 2 commits intoAug 4, 2026
Merged
Conversation
Signed-off-by: zhangzujian <zhangzujian.7@gmail.com> (cherry picked from commit bdec52c)
Coverage Report for CI Build 30870638578Coverage increased (+0.08%) to 25.047%Details
Uncovered Changes
Coverage RegressionsNo coverage regressions found. Coverage Stats
💛 - Coveralls |
Signed-off-by: zhangzujian <zhangzujian.7@gmail.com>
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.
What type of this PR
What this PR does
This backports #7112 to
release-1.15from squash commitbdec52c1e85d1cee4b9a891c5d74fafe7f36a8c0.AtomicWriteFilehelper from fix: install CNI config and binaries atomically #7035 because this maintenance branch predates that helper; unrelated CNI changes from fix: install CNI config and binaries atomically #7035 are not included.The master-only
test/e2e/hapackage does not exist on this maintenance branch, so the HA E2E part of #7112 is intentionally excluded instead of introducing a new E2E suite during a backport.Verification
bash -n dist/images/start-db.shGOMEMLIMIT=2GiB GOMAXPROCS=2 go test ./pkg/ovn_leader_checker ./pkg/util -count=20GOMEMLIMIT=2GiB GOMAXPROCS=2 go test -race ./pkg/ovn_leader_checker ./pkg/util -count=1GOMEMLIMIT=2GiB GOMAXPROCS=2 go vet ./pkg/ovn_leader_checker ./pkg/utilmodernizeanalysis forpkg/ovn_leader_checkerandpkg/utilgolangci-lintforpkg/ovn_leader_checkerandpkg/utilgit diff --check origin/release-1.15...HEADRelated issue