summary refs log tree commit diff
diff options
context:
space:
mode:
authorSean Quah <8349537+squahtx@users.noreply.github.com>2022-07-12 18:57:38 +0100
committerGitHub <noreply@github.com>2022-07-12 18:57:38 +0100
commit3f178332d68cb723150d0e392ed92780e4e5a610 (patch)
treeca175d2dc4e5f0c25b469adbc28cd0b2156b0f0f
parentAdd info about configuration in the url preview docs (#13233) (diff)
downloadsynapse-3f178332d68cb723150d0e392ed92780e4e5a610.tar.xz
Log the stack when waiting for an entire room to be un-partial stated (#13257)
The stack is already logged when waiting for an event to be un-partial
stated. Log the stack for rooms as well, to aid in debugging.
-rw-r--r--changelog.d/13257.misc1
-rw-r--r--synapse/storage/util/partial_state_events_tracker.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/changelog.d/13257.misc b/changelog.d/13257.misc
new file mode 100644
index 0000000000..5fc1388520
--- /dev/null
+++ b/changelog.d/13257.misc
@@ -0,0 +1 @@
+Log the stack when waiting for an entire room to be un-partial stated.
diff --git a/synapse/storage/util/partial_state_events_tracker.py b/synapse/storage/util/partial_state_events_tracker.py
index 211437cfaa..466e5137f2 100644
--- a/synapse/storage/util/partial_state_events_tracker.py
+++ b/synapse/storage/util/partial_state_events_tracker.py
@@ -166,6 +166,7 @@ class PartialCurrentStateTracker:
             logger.info(
                 "Awaiting un-partial-stating of room %s",
                 room_id,
+                stack_info=True,
             )
 
             await make_deferred_yieldable(d)