我们在对等日志中看到此错误,并且不知道该怎么办。这是我们应该忽略的东西吗?
2019-03-19 18:03:03.472 UTC [gossip/service] updateEndpoints -> WARN a8d Failed to update ordering service endpoints, due to Channel with mychannel id was not found
答案 0 :(得分:0)
此警告似乎来自以下代码,看起来可以忽略:
func (g *gossipServiceImpl) updateEndpoints(chainID string, endpoints []string) {
if ds, ok := g.deliveryService[chainID]; ok {
logger.Debugf("Updating endpoints for chainID", chainID)
if err := ds.UpdateEndpoints(chainID, endpoints); err != nil {
// The only reason to fail is because of absence of block provider
// for given channel id, hence printing a warning will be enough
logger.Warningf("Failed to update ordering service endpoints, due to %s", err)
}
}
如果同行不是渠道的领导者,那么它在地图中就没有条目