From 38246d23f68c4e7f20ab50753dab80649d2094a9 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Wed, 22 Jan 2025 14:15:45 +0000 Subject: [PATCH] Comment --- synapse/state/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/synapse/state/__init__.py b/synapse/state/__init__.py index 4df5eda490..013d1245a7 100644 --- a/synapse/state/__init__.py +++ b/synapse/state/__init__.py @@ -718,6 +718,9 @@ class StateResolutionHandler: list(group_names), ) + # We double check that none of the state groups are pending + # deletion. They shouldn't be as all these state groups should be + # referenced. pending_deletion = await state_res_store.state_epoch_store.are_state_groups_pending_deletion( group_names )