瀏覽代碼

Merge pull request #1078 from unihorn/124

raft: remove unused field
Xiang Li 11 年之前
父節點
當前提交
e9b790e27b
共有 1 個文件被更改,包括 0 次插入3 次删除
  1. 0 3
      raft/raft.go

+ 0 - 3
raft/raft.go

@@ -91,9 +91,6 @@ type raft struct {
 
 	id int64
 
-	// the term we are participating in at any time
-	index int64
-
 	// the log
 	raftLog *raftLog