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

Enable Faster Remote Room Joins against worker-mode Synapse. #14752

Merged
merged 29 commits into from
Jan 22, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
9f43880
Enable Complement tests for Faster Remote Room Joins on worker-mode
reivilibre Dec 6, 2022
58d4f93
(dangerous) Add an override to allow Complement to use FRRJ under wor…
reivilibre Dec 29, 2022
29c331d
Newsfile
reivilibre Dec 29, 2022
91faaf6
Fix race where we didn't send out replication notification
erikjohnston Jan 6, 2023
50776af
MORE HACKS
erikjohnston Jan 10, 2023
4d1a4f0
Fix get_un_partial_stated_rooms_token to take instance_name
erikjohnston Jan 19, 2023
c135941
Merge remote-tracking branch 'origin/develop' into rei/frrj_workers_c…
erikjohnston Jan 19, 2023
5b97e4e
Fix bad merge
erikjohnston Jan 19, 2023
d24b947
Remove warning
erikjohnston Jan 19, 2023
aa97b35
Correctly advance un_partial_stated_room_stream
erikjohnston Jan 19, 2023
a3cddbf
Fix merge
erikjohnston Jan 19, 2023
eb65ad3
Add another notify_replication
erikjohnston Jan 19, 2023
1c77611
Fixups
erikjohnston Jan 19, 2023
af2815a
Create a separate ReplicationNotifier
erikjohnston Jan 20, 2023
539e147
Merge remote-tracking branch 'origin/develop' into rei/frrj_workers_c…
erikjohnston Jan 20, 2023
d650011
Fix test
erikjohnston Jan 20, 2023
8ae6c31
Fix portdb
erikjohnston Jan 20, 2023
71472ba
Create a separate ReplicationNotifier
erikjohnston Jan 20, 2023
b72b698
Fix test
erikjohnston Jan 20, 2023
5a4355d
Fix portdb
erikjohnston Jan 20, 2023
f2a097c
Fix presence test
erikjohnston Jan 20, 2023
56e6dda
Newsfile
erikjohnston Jan 20, 2023
36433ed
Merge branch 'erikj/repl_notifieri' into rei/frrj_workers_complement
erikjohnston Jan 20, 2023
9a85309
Merge branch 'develop' into rei/frrj_workers_complement
erikjohnston Jan 20, 2023
207c0a3
Apply suggestions from code review
erikjohnston Jan 20, 2023
f76879a
Merge branch 'develop' into rei/frrj_workers_complement
erikjohnston Jan 20, 2023
b7df499
Update changelog.d/14752.misc
Jan 22, 2023
df83750
Merge branch 'develop' into rei/frrj_workers_complement
Jan 22, 2023
4d62667
lint
Jan 22, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Enable Complement tests for Faster Remote Room Joins on worker-mode
  • Loading branch information
reivilibre authored and erikjohnston committed Jan 19, 2023
commit 9f438801cab896ed248299a04ec5cc0dafed6e13
4 changes: 2 additions & 2 deletions docker/complement/conf/workers-shared-extra.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,10 @@ allow_device_name_lookup_over_federation: true
experimental_features:
# Enable history backfilling support
msc2716_enabled: true
{% if not workers_in_use %}
# server-side support for partial state in /send_join responses
msc3706_enabled: true
# client-side support for partial state in /send_join responses
faster_joins: true
{% endif %}
# Filtering /messages by relation type.
msc3874_enabled: true
# Enable deleting device-specific notification settings stored in account data
Expand Down
11 changes: 4 additions & 7 deletions scripts-dev/complement.sh
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ fi

extra_test_args=()

test_tags="synapse_blacklist,msc3787,msc3874,msc3890,msc3391"
test_tags="synapse_blacklist,msc3787,msc3874,msc3890,msc3391,faster_joins"

# All environment variables starting with PASS_ will be shared.
# (The prefix is stripped off before reaching the container.)
Expand Down Expand Up @@ -223,12 +223,9 @@ else
export PASS_SYNAPSE_COMPLEMENT_DATABASE=sqlite
fi

# We only test faster room joins on monoliths, because they are purposefully
# being developed without worker support to start with.
#
# The tests for importing historical messages (MSC2716) also only pass with monoliths,
# currently.
test_tags="$test_tags,faster_joins,msc2716"
# The tests for importing historical messages (MSC2716)
# only pass with monoliths, currently.
test_tags="$test_tags,msc2716"
fi


Expand Down