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

Track unconverted device list outbound pokes using a position instead #14516

Merged
merged 7 commits into from
Nov 22, 2022

Commits on Nov 22, 2022

  1. Add table to track position of last converted device list change

    Add `device_lists_changes_converted_stream_position` table to track the
    `(stream id, room id)` of the last row in `device_lists_changes_in_room`
    that has been converted to `device_lists_outbound_pokes`.
    
    Signed-off-by: Sean Quah <seanq@matrix.org>
    Sean Quah committed Nov 22, 2022
    Configuration menu
    Copy the full SHA
    23befb4 View commit details
    Browse the repository at this point in the history
  2. Use (stream id, room id) position to fetch unconverted device changes

    Signed-off-by: Sean Quah <seanq@matrix.org>
    Sean Quah committed Nov 22, 2022
    Configuration menu
    Copy the full SHA
    437d6d1 View commit details
    Browse the repository at this point in the history
  3. Stop updating the converted_to_destinations column

    From now on, the `converted_to_destinations` column indicates rows that
    need converting to outbound pokes, but does not indicate whether the
    conversion has already taken place.
    
    Signed-off-by: Sean Quah <seanq@matrix.org>
    Sean Quah committed Nov 22, 2022
    Configuration menu
    Copy the full SHA
    4c6fd81 View commit details
    Browse the repository at this point in the history
  4. Add newsfile

    Signed-off-by: Sean Quah <seanq@matrix.org>
    Sean Quah committed Nov 22, 2022
    Configuration menu
    Copy the full SHA
    ddc9999 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9e70ba6 View commit details
    Browse the repository at this point in the history
  6. fixup: use tuple comparison in query

    Sean Quah committed Nov 22, 2022
    Configuration menu
    Copy the full SHA
    112bc78 View commit details
    Browse the repository at this point in the history
  7. fixup: remove todo

    Sean Quah committed Nov 22, 2022
    Configuration menu
    Copy the full SHA
    b9b2f04 View commit details
    Browse the repository at this point in the history