Skip to content
Snippets Groups Projects
Forked from Maunium / synapse
Source project has a limited visibility.
  • Erik Johnston's avatar
    20fa83f3
    Remove racey assertion in MultiWriterIDGenerator (#8530) · 20fa83f3
    Erik Johnston authored
    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.
    20fa83f3
    History
    Remove racey assertion in MultiWriterIDGenerator (#8530)
    Erik Johnston authored
    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.