mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-12 01:07:35 +02:00
[master] update LastLeaderChangeTime for hashicorp raft (#6292)
This commit is contained in:
1 parent
d43fa07f06
commit
fec88e64eb
2 files changed
+1
-1
No files matched your search
@@ -191,7 +191,6 @@ func (ms *MasterServer) SetRaftServer(raftServer *RaftServer) {
|
||||
} else if raftServer.RaftHashicorp != nil {
|
||||
ms.Topo.HashicorpRaft = raftServer.RaftHashicorp
|
||||
raftServerName = ms.Topo.HashicorpRaft.String()
|
||||
// TODO fix this for hashicorp raft
|
||||
ms.Topo.LastLeaderChangeTime = time.Now()
|
||||
}
|
||||
ms.Topo.RaftServerAccessLock.Unlock()
|
||||
|
||||
Reference in new issue
Block a user