Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Update all stream IDs after processing replication rows #14723

Commits on Dec 22, 2022

  1. Update all stream IDs after processing replication rows

    This creates a new store method, `process_replication_position` that
    is called after `process_replication_rows`. By moving stream ID advances
    here this guarantees any relevant cache invalidations will have been
    applied before the stream is advanced.
    
    This avoids race conditions where Python switches between threads mid
    way through processing the `process_replication_rows` method where stream
    IDs may be advanced before caches are invalidated due to class resolution
    ordering.
    
    See this comment/issue for further discussion:
    	matrix-org#14158 (comment)
    Fizzadar committed Dec 22, 2022
    Configuration menu
    Copy the full SHA
    0573e8d View commit details
    Browse the repository at this point in the history
  2. Changelog

    Fizzadar committed Dec 22, 2022
    Configuration menu
    Copy the full SHA
    2889fc0 View commit details
    Browse the repository at this point in the history

Commits on Dec 31, 2022

  1. Configuration menu
    Copy the full SHA
    427972f View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2023

  1. Configuration menu
    Copy the full SHA
    537cb40 View commit details
    Browse the repository at this point in the history