summary refs log tree commit diff
path: root/synapse/storage/databases/main/keys.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2020-10-14 15:40:06 +0100
committerGitHub <noreply@github.com>2020-10-14 15:40:06 +0100
commit618d405a322590d022d839b6d72ba51e992a71c3 (patch)
tree1a48de01d547ef3c491483424e7e3e1b10366e2f /synapse/storage/databases/main/keys.py
parentAdd note to manhole.md about bind_address when using with docker (#8526) (diff)
downloadsynapse-618d405a322590d022d839b6d72ba51e992a71c3.tar.xz
Remove racey assertion in MultiWriterIDGenerator (#8530)
We asserted that the IDs returned by postgres sequence was greater than
any we had seen, however this is technically racey as we may update the
current positions out of order.

We now assert that the sequences are correct on startup, so the
assertion is no longer really required, so we remove them.
Diffstat (limited to 'synapse/storage/databases/main/keys.py')
0 files changed, 0 insertions, 0 deletions