-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Faster joins: omit partial rooms from eager syncs until the resync completes #14870
Commits on Jan 20, 2023
-
Allow
AbstractSet
inStrCollection
Or else frozensets are excluded. This will be useful in an upcoming commit where I plan to change a function that accepts `List[str]` to accept `StrCollection` instead.
David Robertson committedJan 20, 2023 Configuration menu - View commit details
-
Copy full SHA for b6d283a - Browse repository at this point
Copy the full SHA b6d283aView commit details -
rooms_to_exclude
->rooms_to_exclude_globally
I am about to make use of this exclusion mechanism to exclude rooms for a specific user and a specific sync. This rename helps to clarify the distinction between the global config and the rooms to exclude for a specific sync.
David Robertson committedJan 20, 2023 Configuration menu - View commit details
-
Copy full SHA for cc87d2c - Browse repository at this point
Copy the full SHA cc87d2cView commit details -
Better function names for internal sync methods
David Robertson committedJan 20, 2023 Configuration menu - View commit details
-
Copy full SHA for beeee9a - Browse repository at this point
Copy the full SHA beeee9aView commit details -
Track a list of excluded rooms on SyncResultBuilder
I plan to feed a list of partially stated rooms for this sync to ignore
David Robertson committedJan 20, 2023 Configuration menu - View commit details
-
Copy full SHA for 9cf40f7 - Browse repository at this point
Copy the full SHA 9cf40f7View commit details -
Exclude partial state rooms during eager sync
using the mechanism established in the previous commit
David Robertson committedJan 20, 2023 Configuration menu - View commit details
-
Copy full SHA for 12c11ae - Browse repository at this point
Copy the full SHA 12c11aeView commit details -
Track un-partial-state stream in sync tokens
So that we can work out which rooms have become fully-stated during a given sync period.
David Robertson committedJan 20, 2023 Configuration menu - View commit details
-
Copy full SHA for 538e399 - Browse repository at this point
Copy the full SHA 538e399View commit details -
Fix mutation of
@cached
return valueThis was fouling up a complement test added alongside this PR. Excluding a room would mean the set of forgotten rooms in the cache would be extended. This means that room could be erroneously considered forgotten in the future. Introduced in #12310, Synapse 1.57.0. I don't think this had any user-visible side effects (until now).
David Robertson committedJan 20, 2023 Configuration menu - View commit details
-
Copy full SHA for 32b4730 - Browse repository at this point
Copy the full SHA 32b4730View commit details -
SyncResultBuilder: track rooms to force as newly joined
Similar plan as before. We've omitted rooms from certain sync responses; now we establish the mechanism to reintroduce them into future syncs.
David Robertson committedJan 20, 2023 Configuration menu - View commit details
-
Copy full SHA for 372b3cc - Browse repository at this point
Copy the full SHA 372b3ccView commit details -
Read new field, to present rooms as newly joined
David Robertson committedJan 20, 2023 Configuration menu - View commit details
-
Copy full SHA for fd44b78 - Browse repository at this point
Copy the full SHA fd44b78View commit details -
Force un-partial-stated rooms to be newly-joined
for eager incremental syncs only, provided they're still fully stated
David Robertson committedJan 20, 2023 Configuration menu - View commit details
-
Copy full SHA for 5cb32d1 - Browse repository at this point
Copy the full SHA 5cb32d1View commit details -
Notify user stream listeners to wake up long polling syncs
Mathieu Velten authored and David Robertson committedJan 20, 2023 Configuration menu - View commit details
-
Copy full SHA for 41c3b33 - Browse repository at this point
Copy the full SHA 41c3b33View commit details -
David Robertson committed
Jan 20, 2023 Configuration menu - View commit details
-
Copy full SHA for fbed1a7 - Browse repository at this point
Copy the full SHA fbed1a7View commit details
Commits on Jan 22, 2023
-
Merge branch 'develop' into dmr/eager-syncs-faster-joins
David Robertson authoredJan 22, 2023 Configuration menu - View commit details
-
Copy full SHA for 817ab1d - Browse repository at this point
Copy the full SHA 817ab1dView commit details -
Merge remote-tracking branch 'origin/develop' into dmr/eager-syncs-fa…
…ster-joins
David Robertson committedJan 22, 2023 Configuration menu - View commit details
-
Copy full SHA for cb79ab7 - Browse repository at this point
Copy the full SHA cb79ab7View commit details -
Co-authored-by: Sean Quah <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f46590a - Browse repository at this point
Copy the full SHA f46590aView commit details -
Co-authored-by: Sean Quah <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for adbf474 - Browse repository at this point
Copy the full SHA adbf474View commit details -
Co-authored-by: Sean Quah <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 237b63d - Browse repository at this point
Copy the full SHA 237b63dView commit details -
Co-authored-by: Sean Quah <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2bb13df - Browse repository at this point
Copy the full SHA 2bb13dfView commit details -
David Robertson committed
Jan 22, 2023 Configuration menu - View commit details
-
Copy full SHA for 9181ddc - Browse repository at this point
Copy the full SHA 9181ddcView commit details
Commits on Jan 23, 2023
-
Poke notifier when receiving un-partial-stated msg over replication
David Robertson committedJan 23, 2023 Configuration menu - View commit details
-
Copy full SHA for 995a2ef - Browse repository at this point
Copy the full SHA 995a2efView commit details -
Merge remote-tracking branch 'origin/develop' into dmr/eager-syncs-fa…
…ster-joins
David Robertson committedJan 23, 2023 Configuration menu - View commit details
-
Copy full SHA for f1085a5 - Browse repository at this point
Copy the full SHA f1085a5View commit details -
Thanks MV :) Co-authored-by: Mathieu Velen <[email protected]>
David Robertson and Mathieu Velen committedJan 23, 2023 Configuration menu - View commit details
-
Copy full SHA for b1b2dcd - Browse repository at this point
Copy the full SHA b1b2dcdView commit details