etcdserver/raft: remove msgDenied, removedNodes, shouldStop

The future plan is to do all these in etcdserver level.
This commit is contained in:
Yicheng Qin
2014-10-20 15:07:20 -07:00
parent 8fa3834d69
commit e200d2a8e2
9 changed files with 35 additions and 226 deletions

View File

@@ -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 {