Переглянути джерело

Do not invalidate table event messages

- Do not run the risk of suppressing meaningful messages
  for the rest of the cluster, as a many services depend
  on it, like the service records and the distributed
  load balancers.

Signed-off-by: Alessandro Boch <aboch@docker.com>
Alessandro Boch 8 роки тому
батько
коміт
9c3c86a931
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 {