0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-09-09 03:11:55 +02:00
synapse/changelog.d/8530.bugfix
Erik Johnston 618d405a32
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.
2020-10-14 15:40:06 +01:00

1 line
73 B
Text

Fix rare bug where sending an event would fail due to a racey assertion.