mirror of
https://github.com/element-hq/synapse.git
synced 2026-11-04 13:28:04 +00:00
For v2 and v2.1 rooms on the native driver: - "on" resolves in Rust, falling back to Python for rooms without a chain cover index. The per-room CPU and database metrics come from the Rust stats, as the log context does not see that work. - "shadow" resolves in Python, then in Rust with a copy of the event map, logs any difference and counts the outcome in synapse_state_res_rust_shadow_total. - "off" (the default) is unchanged. SYNAPSE_TEST_RUST_STATE_RES sets the mode for every test homeserver. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ULdieJyQoHNzeHq42H2M1p
2 lines
128 B
Gherkin
2 lines
128 B
Gherkin
Add an experimental Rust implementation of state resolution v2 and v2.1, for deployments using the native Rust Postgres driver.
|