This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Consistently compare to the earliest known stream position in the stream change cache #14435
Consistently compare to the earliest known stream position in the stream change cache #14435
Changes from 5 commits
64dc954
c969ab4
3a46941
f0dbf31
7d0e07f
9842054
0c6c603
e2e4f37
532f69a
dff4b5c
6b09889
f0634bf
d3513a3
ae77f8b
53cd4cc
865792a
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
has_entity_changed
is called from the following places:AccountDataWorkerStore.get_updated_account_data_for_user
, which seems to be used to build account data in/sync
responses.DeviceInboxWorkerStore
:_get_device_messages
: feeds into to-device updates in/sync
and app services.delete_messages_for_device
: used to pause/sync
in some situation? (Unclear...?)get_new_device_msgs_for_remote
: used when calculating EDUs to send in federation transactions.DeviceWorkerStore
:get_device_updates_by_remote
: used when calculating EDUs to send in federation transactions.get_users_whose_signatures_changed
: used in the device list entry for/sync
.EventPushActionsWorkerStore._get_notif_unread_count_for_user_room
, which is used to generate notification counts in/sync
and to updateevent_push_summary
.PushRulesWorkerStore.have_push_rules_changed_for_user
, which is used to build push rules in/sync
responses.ReceiptsWorkerStore.get_linearized_receipts_for_room
, which is used build receipts data in/initial_sync
.StreamWorkerStore
uses it in a few spots:get_rooms_that_changed
: feeds into the/keys/changes
response.get_room_events_stream_for_room
: used to get the events that have changed in a room for/sync
response.get_membership_changes_for_user
: feeds into the/keys/changes
response. generating membership changes in/sync
response, and whatever usesRoomEventSource.get_new_events
.TagsWorkerStore.get_updated_tags
: used to generate data in a/sync
response.