Merge pull request #17144 from siyuanfoundation/livez-bp-3.4-e2e

[3.4] Backport e2e tests for livez/readyz.
This commit is contained in:
Benjamin Wang
2023-12-21 19:12:57 +00:00
committed by GitHub
30 changed files with 941 additions and 51 deletions

View File

@@ -2179,6 +2179,7 @@ func (s *EtcdServer) apply(
e := es[i]
switch e.Type {
case raftpb.EntryNormal:
// gofail: var beforeApplyOneEntryNormal struct{}
s.applyEntryNormal(&e)
s.setAppliedIndex(e.Index)
s.setTerm(e.Term)