浏览代码

Merge pull request #1689 from aboch/inv

Do not invalidate table event messages
Santhosh Manohar 8 年之前
父节点
当前提交
539888412b
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      libnetwork/networkdb/broadcast.go

+ 1 - 2
libnetwork/networkdb/broadcast.go

@@ -105,8 +105,7 @@ type tableEventMessage struct {
 }
 
 func (m *tableEventMessage) Invalidates(other memberlist.Broadcast) bool {
-	otherm := other.(*tableEventMessage)
-	return m.id == otherm.id && m.tname == otherm.tname && m.key == otherm.key
+	return false
 }
 
 func (m *tableEventMessage) Message() []byte {