mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #14853 from ahrtr/remove_memberid_alarm_3.4_20221125
[3.4] etcdserver: intentionally set the memberID as 0 in corruption alarm
This commit is contained in:
commit
c619e2705e
@ -207,8 +207,12 @@ func (s *EtcdServer) checkHashKV() error {
|
||||
return
|
||||
}
|
||||
alarmed = true
|
||||
// It isn't clear which member's data is corrupted, so we
|
||||
// intentionally set the memberID as 0. We will identify
|
||||
// the corrupted members using quorum in 3.6. Please see
|
||||
// discussion in https://github.com/etcd-io/etcd/pull/14828.
|
||||
a := &pb.AlarmRequest{
|
||||
MemberID: uint64(id),
|
||||
MemberID: 0,
|
||||
Action: pb.AlarmRequest_ACTIVATE,
|
||||
Alarm: pb.AlarmType_CORRUPT,
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user