master: disconnect only the phantom volume server

fix https://github.com/chrislusf/seaweedfs/issues/2311
This commit is contained in:
Chris Lu
2021-09-05 15:20:03 -07:00
parent 57a95887d2
commit 65af3cf4df
2 changed files with 7 additions and 1 deletions

View File

@@ -18,6 +18,7 @@ type DataNode struct {
Port int
PublicUrl string
LastSeen int64 // unix time in seconds
Counter int // in race condition, the previous dataNode was not dead
}
func NewDataNode(id string) *DataNode {