fix(disagg): snapshot affected rooms before iterating outside the lock (#36351)

This commit is contained in:
Shangming Cai
2026-08-26 03:31:10 +08:00
committed by GitHub
parent 7ddf92d5f4
commit edff717ef0
@@ -1130,8 +1130,8 @@ class CommonKVManager(BaseKVManager):
del self.connection_pool[k]
self.prefill_info_table.pop(failed_bootstrap_addr, None)
possible_affected_rooms = self.addr_to_rooms_tracker.get(
failed_bootstrap_addr, []
possible_affected_rooms = list(
self.addr_to_rooms_tracker.get(failed_bootstrap_addr, [])
)
self.addr_to_rooms_tracker.pop(failed_bootstrap_addr, None)