summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2019-10-07 14:41:39 +0100
committerGitHub <noreply@github.com>2019-10-07 14:41:39 +0100
commit276ae5c63eaef656d486e190298f7a5ec99a7a5b (patch)
treebbe90c3784cfa12b8595b91b0641f0c4f991292a /synapse/storage
parentMerge pull request #6175 from matrix-org/babolivier/fix_unique_user_filter_index (diff)
downloadsynapse-276ae5c63eaef656d486e190298f7a5ec99a7a5b.tar.xz
add some logging to the rooms stats updates, to try to track down a flaky test (#6167)
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/stats.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/storage/stats.py b/synapse/storage/stats.py
index 09190d684e..7c224cd3d9 100644
--- a/synapse/storage/stats.py
+++ b/synapse/storage/stats.py
@@ -332,6 +332,9 @@ class StatsStore(StateDeltasStore):
         def _bulk_update_stats_delta_txn(txn):
             for stats_type, stats_updates in updates.items():
                 for stats_id, fields in stats_updates.items():
+                    logger.info(
+                        "Updating %s stats for %s: %s", stats_type, stats_id, fields
+                    )
                     self._update_stats_delta_txn(
                         txn,
                         ts=ts,