Procházet zdrojové kódy

Fix HTTP repl response to use minimum token (#16578)

tags/v1.96.0rc1
Erik Johnston před 6 měsíci
committed by GitHub
rodič
revize
8c63e93286
V databázi nebyl nalezen žádný známý klíč pro tento podpis ID GPG klíče: 4AEE18F83AFDEB23
2 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. +1
    -0
      changelog.d/16578.bugfix
  2. +1
    -1
      synapse/replication/http/_base.py

+ 1
- 0
changelog.d/16578.bugfix Zobrazit soubor

@@ -0,0 +1 @@
Fix a long-standing, exceedingly rare edge case where the first event persisted by a new event persister worker might not be sent down `/sync`.

+ 1
- 1
synapse/replication/http/_base.py Zobrazit soubor

@@ -433,7 +433,7 @@ class ReplicationEndpoint(metaclass=abc.ABCMeta):

if self.WAIT_FOR_STREAMS:
response[_STREAM_POSITION_KEY] = {
stream.NAME: stream.current_token(self._instance_name)
stream.NAME: stream.minimal_local_current_token()
for stream in self._streams
}



Načítá se…
Zrušit
Uložit