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

Commits on Sep 21, 2022

  1. Fix have_seen_event cache not being invalidated

    Fix #13856
    
    `_invalidate_caches_for_event` doesn't run in monolith mode which
    means we never even tried to clear the `have_seen_event` and other
    caches. And even in worker mode, it only runs on the workers, not
    the master (AFAICT).
    
    Additionally there is bug with the key being wrong so
    `_invalidate_caches_for_event` never invalidates the
    `have_seen_event` cache even when it does run.
    
    Wrong:
    ```py
    self.have_seen_event.invalidate((room_id, event_id))
    ```
    
    Correct:
    ```py
    self.have_seen_event.invalidate(((room_id, event_id),))
    ```
    MadLittleMods committed Sep 21, 2022
    Configuration menu
    Copy the full SHA
    a847a35 View commit details
    Browse the repository at this point in the history
  2. Add changelog

    MadLittleMods committed Sep 21, 2022
    Configuration menu
    Copy the full SHA
    f6393db View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2022

  1. Fix have_seen_event cache not being invalidated

    Fix #13856
    
    `_invalidate_caches_for_event` doesn't run in monolith mode which
    means we never even tried to clear the `have_seen_event` and other
    caches. And even in worker mode, it only runs on the workers, not
    the master (AFAICT).
    
    Additionally there is bug with the key being wrong so
    `_invalidate_caches_for_event` never invalidates the
    `have_seen_event` cache even when it does run.
    
    Wrong:
    ```py
    self.have_seen_event.invalidate((room_id, event_id))
    ```
    
    Correct:
    ```py
    self.have_seen_event.invalidate(((room_id, event_id),))
    ```
    MadLittleMods committed Sep 22, 2022
    Configuration menu
    Copy the full SHA
    d07947d View commit details
    Browse the repository at this point in the history
  2. Assert is not None

    MadLittleMods committed Sep 22, 2022
    Configuration menu
    Copy the full SHA
    f2a5c70 View commit details
    Browse the repository at this point in the history
  3. Calculate the stream_ordering from newest -> oldest (in the correct o…

    …rder) and persist in the oldest -> newest to get the least missing prev_event fetch thrashing
    MadLittleMods committed Sep 22, 2022
    Configuration menu
    Copy the full SHA
    b23b3e4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a25821d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5a5c324 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1054f91 View commit details
    Browse the repository at this point in the history
  7. Invalidate cache like #13796

    Copying what #13796
    is doing
    MadLittleMods committed Sep 22, 2022
    Configuration menu
    Copy the full SHA
    2162ab5 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0cdc7bf View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2022

  1. Add test description

    MadLittleMods committed Sep 23, 2022
    Configuration menu
    Copy the full SHA
    5b9b645 View commit details
    Browse the repository at this point in the history
  2. Better changelog

    MadLittleMods committed Sep 23, 2022
    Configuration menu
    Copy the full SHA
    9fb750d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4fa8f05 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b9be6c5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f8dc17b View commit details
    Browse the repository at this point in the history
  6. Merge branch 'madlittlemods/13856-fix-have-seen-events-not-being-inva…

    …lidated' into maddlittlemods/msc2716-many-batches-optimization
    
    Conflicts:
    	tests/storage/databases/main/test_events_worker.py
    MadLittleMods committed Sep 23, 2022
    Configuration menu
    Copy the full SHA
    44e9746 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2022

  1. Debugging

    MadLittleMods committed Sep 24, 2022
    Configuration menu
    Copy the full SHA
    33d12a5 View commit details
    Browse the repository at this point in the history
  2. More debugging

    MadLittleMods committed Sep 24, 2022
    Configuration menu
    Copy the full SHA
    78b4434 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2022

  1. Merge branch 'madlittlemods/13356-messages-investigation-scratch-v1' …

    …into maddlittlemods/msc2716-many-batches-optimization
    
    Conflicts:
    	synapse/handlers/federation.py
    	synapse/storage/databases/main/cache.py
    	synapse/storage/databases/main/event_federation.py
    MadLittleMods committed Sep 26, 2022
    Configuration menu
    Copy the full SHA
    85451b9 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2022

  1. Non-working test

    MadLittleMods committed Sep 27, 2022
    Configuration menu
    Copy the full SHA
    31e2c10 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7a3ded0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6423938 View commit details
    Browse the repository at this point in the history
  4. Use event_id to compare

    MadLittleMods committed Sep 27, 2022
    Configuration menu
    Copy the full SHA
    20f4d1c View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2022

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

Commits on Sep 29, 2022

  1. Configuration menu
    Copy the full SHA
    4dcb2f6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    50b11cb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cfa5e57 View commit details
    Browse the repository at this point in the history
  4. Simplify case

    MadLittleMods committed Sep 29, 2022
    Configuration menu
    Copy the full SHA
    aaa9679 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1ed0276 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    61c1296 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5faebbd View commit details
    Browse the repository at this point in the history
  8. WIP: Connect state_chain to prev_event and the batch to the state_cha…

    …in so everyhting is valid
    
    We are going to lose the benefit of keeping the join noise out of the timeline.
    And will probably have to hide "historical" state on the client.
    MadLittleMods committed Sep 29, 2022
    Configuration menu
    Copy the full SHA
    8f8c1a0 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2022

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

Commits on Oct 13, 2022

  1. Configuration menu
    Copy the full SHA
    8a69706 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0b104e3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c5b1ce8 View commit details
    Browse the repository at this point in the history