summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2021-05-24 14:03:00 +0100
committerGitHub <noreply@github.com>2021-05-24 14:03:00 +0100
commitdaca7b2794fb86514dc01de551bb0e5db77cf914 (patch)
treebf6e01d5a93df39c678d3ae3f7ef22adbafbb0d0 /scripts
parentRemove `keylen` from `LruCache`. (#9993) (diff)
downloadsynapse-daca7b2794fb86514dc01de551bb0e5db77cf914.tar.xz
Fix off-by-one-error in synapse_port_db (#9991)
fixes #9979
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/synapse_port_db2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/synapse_port_db b/scripts/synapse_port_db
index 7c7645c05a..86eb76cbca 100755
--- a/scripts/synapse_port_db
+++ b/scripts/synapse_port_db
@@ -959,7 +959,7 @@ class Porter(object):
         def r(txn):
             txn.execute(
                 "ALTER SEQUENCE event_auth_chain_id RESTART WITH %s",
-                (curr_chain_id,),
+                (curr_chain_id + 1,),
             )
 
         if curr_chain_id is not None: