element-hq / element-hq/synapse
UserDirectoryHandler is racey when run using user_dir worker
Open
O-Uncommon
S-Tolerable
T-Defect
z-minor
z-p2
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 600
- Avg merge
- 5d 22h
- Merged PRs (30d)
- 51
Description
This issue has been migrated from [#3714](https://github.com/matrix-org/synapse/issues/3714).
---
The `synapse.app.user_dir` worker assumes its the only thing that is editing the user directory, which isn't actually true. Things like profile updates, user account deactivation, etc happen on the master regardless.
Contributor guide
Assessment
This issue has not been assessed yet.