You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Over the last few weeks we have started seeing syncs with missing just-joined rooms. This led me to dive deep into how sync works and ended up with identifying a few cache invalidation race conditions, my understanding of things is as follows:
nothing to do with the sync handling/notifier process, which is just the events
so thus this means between event replication and state, there is a window when a sync may get notified about events whilst the get rooms for user cache remains invalid
I then confirmed my suspicious by adding a log line: beeper/synapse@1346af1 which successfully identified the occurrences of this. I will now submit two different PRs to address this specific issue:
This issue has been migrated from #14154.
Over the last few weeks we have started seeing syncs with missing just-joined rooms. This led me to dive deep into how sync works and ended up with identifying a few cache invalidation race conditions, my understanding of things is as follows:
notifier.wait_for_events
process_replication_rows
is called_invalidate_caches_for_event
call does NOT invalidate rooms for user, that is left to the state invalidations over replicationI then confirmed my suspicious by adding a log line: beeper/synapse@1346af1 which successfully identified the occurrences of this. I will now submit two different PRs to address this specific issue:
The text was updated successfully, but these errors were encountered: