summary refs log tree commit diff
diff options
context:
space:
mode:
authorOlivier Wilkinson (reivilibre) <olivier@librepush.net>2019-08-20 16:03:37 +0100
committerOlivier Wilkinson (reivilibre) <olivier@librepush.net>2019-08-20 16:03:37 +0100
commiteafa8d3c54e03ca2c7929125a5ce5ea015491bf5 (patch)
treea70c45c66959c94698c45ed39c354b51d0dd54dd
parentClarify `_update_stats_delta_txn` (diff)
downloadsynapse-eafa8d3c54e03ca2c7929125a5ce5ea015491bf5.tar.xz
Unify name of 'stats regenerator' in schema comments.
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
-rw-r--r--synapse/storage/schema/delta/56/stats_separated1.sql12
1 files changed, 6 insertions, 6 deletions
diff --git a/synapse/storage/schema/delta/56/stats_separated1.sql b/synapse/storage/schema/delta/56/stats_separated1.sql
index 8d8e8fb97c..19a91416c2 100644
--- a/synapse/storage/schema/delta/56/stats_separated1.sql
+++ b/synapse/storage/schema/delta/56/stats_separated1.sql
@@ -47,8 +47,8 @@ CREATE TABLE IF NOT EXISTS stats_incremental_position (
     -- (this is positive)
     total_events_max_stream_ordering BIGINT,
 
-    -- If true, this represents the contract agreed upon by the background
-    -- population processor.
+    -- If true, this represents the contract agreed upon by the stats
+    -- regenerator.
     -- If false, this is suitable for use by the delta/incremental processor.
     is_background_contract BOOLEAN NOT NULL PRIMARY KEY
 );
@@ -78,8 +78,8 @@ CREATE TABLE IF NOT EXISTS room_stats_current (
     left_members INT NOT NULL DEFAULT 0,
     banned_members INT NOT NULL DEFAULT 0,
 
-    -- If initial background count is still to be performed: NULL
-    -- If initial background count has been performed: the maximum delta stream
+    -- If initial stats regen is still to be performed: NULL
+    -- If initial stats regen has been performed: the maximum delta stream
     --  position that this row takes into account.
     completed_delta_stream_id BIGINT,
 
@@ -123,8 +123,8 @@ CREATE TABLE IF NOT EXISTS user_stats_current (
     public_rooms INT DEFAULT 0 NOT NULL,
     private_rooms INT DEFAULT 0 NOT NULL,
 
-    -- If initial background count is still to be performed: NULL
-    -- If initial background count has been performed: the maximum delta stream
+    -- If initial stats regen is still to be performed: NULL
+    -- If initial stats regen has been performed: the maximum delta stream
     --  position that this row takes into account.
     completed_delta_stream_id BIGINT
 );