Skip to content
Snippets Groups Projects
Unverified Commit 8c63e932 authored by Erik Johnston's avatar Erik Johnston Committed by GitHub
Browse files

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

parent ba558350
No related branches found
No related tags found
No related merge requests found
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`.
......@@ -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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment