More debug information for connecting to master

This commit is contained in:
chrislusf
2015-05-14 21:46:59 -07:00
parent b8314fb054
commit 3188382ea7
2 changed files with 6 additions and 0 deletions

View File

@@ -64,10 +64,12 @@ func NewVolumeServer(adminMux, publicMux *http.ServeMux, ip string,
go func() {
connected := true
glog.V(0).Infof("Volume server bootstraps with master %s", vs.GetMasterNode())
vs.store.SetBootstrapMaster(vs.GetMasterNode())
vs.store.SetDataCenter(vs.dataCenter)
vs.store.SetRack(vs.rack)
for {
glog.V(4).Infof("Volume server sending to master %s", vs.GetMasterNode())
master, secretKey, err := vs.store.SendHeartbeatToMaster()
if err == nil {
if !connected {