mirror of
https://github.com/element-hq/synapse.git
synced 2025-03-14 03:38:42 +00:00
Add `event.internal_metadata.instance_name` (the worker instance that persisted the event) to go alongside the existing `event.internal_metadata.stream_ordering`.
`instance_name` is useful to properly compare and query for events with a token since you need to compare both the `stream_ordering` and `instance_name` against the vector clock/`instance_map` in the `RoomStreamToken`.
This is pre-requisite work and may be used in https://github.com/element-hq/synapse/pull/17293
Adding `event.internal_metadata.instance_name` was first mentioned in the initial Sliding Sync PR while pairing with @erikjohnston, see
|
||
---|---|---|
.. | ||
.gitignore | ||
17172.feature | ||
17187.feature | ||
17254.bugfix | ||
17256.feature | ||
17265.misc | ||
17266.misc | ||
17270.feature | ||
17271.misc | ||
17272.bugfix | ||
17273.misc | ||
17275.bugfix | ||
17279.misc | ||
17295.bugfix | ||
17296.feature | ||
17297.misc | ||
17300.misc |