Explorar o código

Merge pull request #1689 from aboch/inv

Do not invalidate table event messages
Santhosh Manohar %!s(int64=8) %!d(string=hai) anos
pai
achega
539888412b
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  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 {