Skip to content
Snippets Groups Projects
  1. Dec 13, 2023
  2. Oct 23, 2023
    • Erik Johnston's avatar
      Fix bug where a new writer advances their token too quickly (#16473) · 8f35f814
      Erik Johnston authored
      * Fix bug where a new writer advances their token too quickly
      
      When starting a new writer (for e.g. persisting events), the
      `MultiWriterIdGenerator` doesn't have a minimum token for it as there
      are no rows matching that new writer in the DB.
      
      This results in the the first stream ID it acquired being announced as
      persisted *before* it actually finishes persisting, if another writer
      gets and persists a subsequent stream ID. This is due to the logic of
      setting the minimum persisted position to the minimum known position of
      across all writers, and the new writer starts off not being considered.
      
      * Fix sending out POSITIONs when our token advances without update
      
      Broke in #14820
      
      * For replication HTTP requests, only wait for minimal position
      Unverified
      8f35f814
  3. Sep 08, 2023
  4. Aug 07, 2023
  5. Jun 21, 2023
  6. Jan 30, 2023
  7. May 18, 2022
Loading