diff options
author | Erik Johnston <erikj@element.io> | 2025-02-03 18:29:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-03 17:29:15 +0000 |
commit | aa6e5c2ecbe58dec1c38c33949fc70c88f39c242 (patch) | |
tree | eb0b6b0f6d2a4335c82c7d8e09c73a3aefad0054 /synapse/util/async_helpers.py | |
parent | Allow (un)block_room storage functions to be called on workers (#18119) (diff) | |
download | synapse-aa6e5c2ecbe58dec1c38c33949fc70c88f39c242.tar.xz |
Add locking to more safely delete state groups: Part 1 (#18107)
Currently we don't really have anything that stops us from deleting state groups when an in-flight event references it. This is a fairly rare race currently, but we want to be able to more aggressively delete state groups so it is important to address this to ensure that the database remains valid. This implements the locking, but doesn't actually use it. See the class docstring of the new data store for an explanation for how this works. --------- Co-authored-by: Devon Hudson <devon.dmytro@gmail.com>
Diffstat (limited to 'synapse/util/async_helpers.py')
0 files changed, 0 insertions, 0 deletions