forked-synapse/rust/src
Eric Eastwood 8c58eb7f17
Add event.internal_metadata.instance_name (#17300)
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 09609cb0db (diff-5cd773fb307aa754bd3948871ba118b1ef0303f4d72d42a2d21e38242bf4e096R405-R410)
2024-06-13 11:32:50 -05:00
..
acl Update PyO3 to 0.21 (#17162) 2024-05-08 14:30:06 +01:00
events Add event.internal_metadata.instance_name (#17300) 2024-06-13 11:32:50 -05:00
push Update PyO3 to 0.21 (#17162) 2024-05-08 14:30:06 +01:00
rendezvous Update PyO3 to 0.21 (#17162) 2024-05-08 14:30:06 +01:00
errors.rs Helpers to transform Twisted requests to Rust http Requests/Responses (#17081) 2024-04-18 12:20:30 +02:00
http.rs Update PyO3 to 0.21 (#17162) 2024-05-08 14:30:06 +01:00
lib.rs Update PyO3 to 0.21 (#17162) 2024-05-08 14:30:06 +01:00