Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add `event.internal_metadata.instance_name` (#17300) | Eric Eastwood | 2024-06-13 | 1 | -0/+2 |
| | | | | | | | | | | 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 https://github.com/element-hq/synapse/pull/17187/commits/09609cb0dbca3a4cfd9fbf90cc962e765ec469c0#diff-5cd773fb307aa754bd3948871ba118b1ef0303f4d72d42a2d21e38242bf4e096R405-R410 | ||||
* | Bump ruff from 0.1.14 to 0.3.2 (#16994) | dependabot[bot] | 2024-03-13 | 1 | -7/+0 |
| | |||||
* | Bump black from 23.10.1 to 24.2.0 (#16936) | dependabot[bot] | 2024-03-13 | 1 | -0/+6 |
| | |||||
* | Port `EventInternalMetadata` class to Rust (#16782) | Erik Johnston | 2024-01-08 | 1 | -0/+106 |
There are a couple of things we need to be careful of here: 1. The current python code does no validation when loading from the DB, so we need to be careful to ignore such errors (at least on jki.re there are some old events with internal metadata fields of the wrong type). 2. We want to be memory efficient, as we often have many hundreds of thousands of events in the cache at a time. --------- Co-authored-by: Quentin Gliech <quenting@element.io> |