summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-07-15 10:22:30 +0100
committerErik Johnston <erik@matrix.org>2016-07-15 10:22:30 +0100
commit978fa53cc2a34dbf5e274416bae5228a42c454c5 (patch)
treeb18888c6fbb76b4104194860201873beebe6d193 /synapse/storage
parentevent_backwards_extremeties may not be empty (diff)
downloadsynapse-978fa53cc2a34dbf5e274416bae5228a42c454c5.tar.xz
Pull out min stream_ordering from ex_outlier_stream
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/storage/__init__.py b/synapse/storage/__init__.py
index e93c3de66c..1c93e18f9d 100644
--- a/synapse/storage/__init__.py
+++ b/synapse/storage/__init__.py
@@ -92,7 +92,8 @@ class DataStore(RoomMemberStore, RoomStore,
             extra_tables=[("local_invites", "stream_id")]
         )
         self._backfill_id_gen = StreamIdGenerator(
-            db_conn, "events", "stream_ordering", step=-1
+            db_conn, "events", "stream_ordering", step=-1,
+            extra_tables=[("ex_outlier_stream", "event_stream_ordering")]
         )
         self._receipts_id_gen = StreamIdGenerator(
             db_conn, "receipts_linearized", "stream_id"