mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Remove verbose logging and extraneous debug. Fixes #1904
This commit is contained in:
parent
5369fb1c4f
commit
8ece28d4f7
@ -145,7 +145,6 @@ func GuessNodeID(nodes map[string]uint64, snap4 *Snapshot4, cfg *Config4, name s
|
||||
//snapNodes[p.Name] = uint64(m.ID)
|
||||
//}
|
||||
for _, p := range cfg.Peers {
|
||||
log.Printf(p.Name)
|
||||
delete(snapNodes, p.Name)
|
||||
}
|
||||
if len(snapNodes) == 1 {
|
||||
|
@ -490,8 +490,6 @@ func toEntry5(ent4 *etcd4pb.LogEntry, raftMap map[string]uint64) (*raftpb.Entry,
|
||||
Data: data,
|
||||
}
|
||||
|
||||
log.Printf("%d: %s -> %s", ent5.Index, ent4.GetCommandName(), ent5.Type)
|
||||
|
||||
return &ent5, nil
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user