mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-04 08:04:51 -04:00
Reduce log spam when running multiple event persisters (#12610)
This commit is contained in:
parent
2d74a8c178
commit
c0379d6e5b
3 changed files with 17 additions and 2 deletions
|
@ -204,6 +204,15 @@ class ReplicationStreamer:
|
|||
# turns out that e.g. account data streams share
|
||||
# their "current token" with each other, meaning
|
||||
# that it is *not* safe to send a POSITION.
|
||||
|
||||
# Note: `last_token` may not *actually* be the
|
||||
# last token we sent out in a RDATA or POSITION.
|
||||
# This can happen if we sent out an RDATA for
|
||||
# position X when our current token was say X+1.
|
||||
# Other workers will see RDATA for X and then a
|
||||
# POSITION with last token of X+1, which will
|
||||
# cause them to check if there were any missing
|
||||
# updates between X and X+1.
|
||||
logger.info(
|
||||
"Sending position: %s -> %s",
|
||||
stream.NAME,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue