mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-22 17:46:08 +03:00
70c52821ce
Broke in #5971 Basically the bug is that if get_current_state_deltas returns no new updates and we then take the max pos, its possible that we miss an update that happens in between the two calls. (e.g. get_current_state_deltas looks up to stream pos 5, then an event persists and so getting the max stream pos returns 6, meaning that next time we check for things with a stream pos bigger than 6)
1 line
34 B
Text
1 line
34 B
Text
Fix room and user stats tracking.
|