summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2022-06-29 17:17:49 +0100
committerDavid Robertson <davidr@element.io>2022-06-29 17:17:49 +0100
commit03aecf1ef309030ef6fcb2047aa893817bb3f79c (patch)
tree507ffcf5cc7fd4c8edc4c0bd3d3f9c7b848ae699
parentMore debug investigation (diff)
downloadsynapse-03aecf1ef309030ef6fcb2047aa893817bb3f79c.tar.xz
record parent event ids
-rwxr-xr-xsynapse/_scripts/debug_state_res.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/_scripts/debug_state_res.py b/synapse/_scripts/debug_state_res.py
index 0f80909fca..67cac83427 100755
--- a/synapse/_scripts/debug_state_res.py
+++ b/synapse/_scripts/debug_state_res.py
@@ -209,7 +209,7 @@ async def debug_specific_stateres(
     # Fetch the event in question.
     event = await hs.get_datastores().main.get_event(args.event_id)
     assert event is not None
-    logger.info("event %s has %d parents", event.event_id, len(event.prev_event_ids()))
+    logger.info("event %s has %d parents, %s", event.event_id, len(event.prev_event_ids()), event.prev_event_ids())
 
     state_after_parents = [
         await hs.get_storage_controllers().state.get_state_ids_for_event(prev_event_id)