Skip to content
Snippets Groups Projects
  1. Dec 19, 2022
  2. Dec 16, 2022
  3. Dec 15, 2022
  4. Dec 14, 2022
  5. Dec 13, 2022
  6. Dec 12, 2022
  7. Dec 09, 2022
    • Sean Quah's avatar
      Handle half-created indices in receipts index background update (#14650) · 373c485d
      Sean Quah authored
      
      When Synapse is terminated while running the background update to create
      the `receipts_graph` or `receipts_linearized` indexes, the indexes may
      be successfully created (or marked as invalid on postgres) while the
      background update remains unfinished. When Synapse next starts up, the
      background update will fail because the index already exists, or exists
      but is invalid on postgres.
      
      Use the existing code to create indices in background updates, since it
      handles these edge cases.
      
      Signed-off-by: default avatarSean Quah <seanq@matrix.org>
      373c485d
Loading