main.go
@@ -131,7 +131,7 @@ if compareEvent.EventType == protomsg.CompareEventType_ReInitCache { //加入集群后重新初始化缓存 cache.ReInitDbTablePersonsCache() } else if compareEvent.EventType == protomsg.CompareEventType_UpdateCache { //库中新增更新缓存 cache.UpdateDbPersonsCache() cache.UpdateDbPersonsCacheById(string(compareEvent.Payload)) } } else { logger.Debug("json unmarshal error")