Skip to content
Snippets Groups Projects
Unverified Commit aa6e5c2e authored by Erik Johnston's avatar Erik Johnston Committed by GitHub
Browse files

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: default avatarDevon Hudson <devon.dmytro@gmail.com>
parent ac1bf682
No related branches found
No related tags found
Loading
Showing with 1047 additions and 46 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment