summary refs log tree commit diff
path: root/tests/storage/test_state_deletion.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add locking to more safely delete state groups: Part 2 (#18130)Erik Johnston2025-02-031-2/+66
| | | | | | This actually makes it so that deleting state groups goes via the new mechanism. c.f. #18107
* Add locking to more safely delete state groups: Part 1 (#18107)Erik Johnston2025-02-031-0/+411
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>