mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
etcdserver: mark AuthStatus as no side effect request
This commit is contained in:
parent
e5c90ebf90
commit
fda8d38bd4
@ -1036,7 +1036,7 @@ func mkGteRange(rangeEnd []byte) []byte {
|
||||
}
|
||||
|
||||
func noSideEffect(r *pb.InternalRaftRequest) bool {
|
||||
return r.Range != nil || r.AuthUserGet != nil || r.AuthRoleGet != nil
|
||||
return r.Range != nil || r.AuthUserGet != nil || r.AuthRoleGet != nil || r.AuthStatus != nil
|
||||
}
|
||||
|
||||
func removeNeedlessRangeReqs(txn *pb.TxnRequest) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user