High DB usage while logs continuously say sync_partial_state_room-244 - Updating state for $eventid
#16980
Labels
sync_partial_state_room-244 - Updating state for $eventid
#16980
Description
After deploying v1.102.0 final release on matrix.org, we noticed that the
get_partial_state_events_batch
DB txn was taking a lot of DB time on the main process. The restart happened at 13:03 (the gap):Potentially related to #16895, though with a different failure mode.
This is hammering the database. At the moment we're waiting to see if the partial sync completes successfully.
Steps to reproduce
Join a room over federation with partial room joins enabled.
Homeserver
matrix.org
Synapse Version
v1.102.0
Installation Method
pip (from PyPI)
Database
PostgreSQL
Workers
Multiple workers
Platform
linux
Configuration
No response
Relevant log output
Click to see log output
Anything else that would be useful to know?
No response
The text was updated successfully, but these errors were encountered: