summary refs log tree commit diff
path: root/synapse/storage/engines/_base.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2020-07-16 10:58:12 +0100
committerRichard van der Hoff <richard@matrix.org>2020-07-16 11:25:08 +0100
commit3c36ae17a53987ed1ba40910f548d759883ab20a (patch)
treeb50c45f8fa824a982034698188e9fec11b3c20c7 /synapse/storage/engines/_base.py
parentUse `PostgresSequenceGenerator` from `MultiWriterIdGenerator` (diff)
downloadsynapse-3c36ae17a53987ed1ba40910f548d759883ab20a.tar.xz
Use SequenceGenerator for state group ID allocation
Diffstat (limited to 'synapse/storage/engines/_base.py')
-rw-r--r--synapse/storage/engines/_base.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/synapse/storage/engines/_base.py b/synapse/storage/engines/_base.py
index ab0bbe4bd3..908cbc79e3 100644
--- a/synapse/storage/engines/_base.py
+++ b/synapse/storage/engines/_base.py
@@ -91,12 +91,6 @@ class BaseDatabaseEngine(Generic[ConnectionType], metaclass=abc.ABCMeta):
     def lock_table(self, txn, table: str) -> None:
         ...
 
-    @abc.abstractmethod
-    def get_next_state_group_id(self, txn) -> int:
-        """Returns an int that can be used as a new state_group ID
-        """
-        ...
-
     @property
     @abc.abstractmethod
     def server_version(self) -> str: