mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-12 23:51:03 +00:00
cleanup logging
This commit is contained in:
parent
9565db43a8
commit
e6adb361b9
1 changed files with 2 additions and 2 deletions
|
|
@ -336,7 +336,7 @@ func (c *Cluster) SetNodeState(state string) error {
|
|||
State: state,
|
||||
}
|
||||
|
||||
c.logger().Printf("Sending State %s (%s)", state, c.Coordinator.String())
|
||||
c.logger().Printf("Sending State %s (%s)", state, c.Coordinator)
|
||||
if err := c.sendTo(c.Coordinator, ns); err != nil {
|
||||
return fmt.Errorf("sending node state error: err=%s", err)
|
||||
}
|
||||
|
|
@ -360,7 +360,7 @@ func (c *Cluster) ReceiveNodeState(uri URI, state string) error {
|
|||
}
|
||||
|
||||
c.Topology.nodeStates[uri] = state
|
||||
c.logger().Printf("Receiving State %s (%s)", state, uri.String())
|
||||
c.logger().Printf("Receiving State %s (%s)", state, uri)
|
||||
|
||||
// Set cluster state to NORMAL.
|
||||
if c.haveTopologyAgreement() && c.allNodesReady() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue