mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
etcdserver/raft: remove msgDenied, removedNodes, shouldStop
The future plan is to do all these in etcdserver level.
This commit is contained in:
@@ -35,11 +35,9 @@ var (
|
||||
// SoftState provides state that is useful for logging and debugging.
|
||||
// The state is volatile and does not need to be persisted to the WAL.
|
||||
type SoftState struct {
|
||||
Lead uint64
|
||||
RaftState StateType
|
||||
Nodes []uint64
|
||||
RemovedNodes []uint64
|
||||
ShouldStop bool
|
||||
Lead uint64
|
||||
RaftState StateType
|
||||
Nodes []uint64
|
||||
}
|
||||
|
||||
func (a *SoftState) equal(b *SoftState) bool {
|
||||
|
||||
Reference in New Issue
Block a user