Browse Source

fix RemoteVids append

pull/6304/head
Bruce Zou 3 weeks ago
parent
commit
2a47790773
  1. 2
      weed/server/master_grpc_server.go

2
weed/server/master_grpc_server.go

@ -203,7 +203,7 @@ func (ms *MasterServer) SendHeartbeat(stream master_pb.Seaweed_SendHeartbeatServ
for _, v := range newVolumes { for _, v := range newVolumes {
glog.V(0).Infof("master see new volume %d from %s", uint32(v.Id), dn.Url()) glog.V(0).Infof("master see new volume %d from %s", uint32(v.Id), dn.Url())
if v.DataInRemote { if v.DataInRemote {
message.NewVids = append(message.RemoteVids, uint32(v.Id))
message.RemoteVids = append(message.RemoteVids, uint32(v.Id))
} else { } else {
message.NewVids = append(message.NewVids, uint32(v.Id)) message.NewVids = append(message.NewVids, uint32(v.Id))
} }

Loading…
Cancel
Save