基于serf的数据库同步模块库
liuxiaolong
2019-08-19 c1ed6226183527f60bf7a9f15b780a2c8f67e69a
searcher.go
@@ -54,7 +54,7 @@
func (d *delegate) NotifyMsg(b []byte) {
   // logMsg(b)
   n := NodeInfo{}
   if err:= json.Unmarshal(b, &n);err !=nil {
   if err:= json.Unmarshal(b, &n);err ==nil {
      members[n.NodeID] = n
   } else {
      fmt.Println("NotifyMsg msg unmarshal err")