matrix-org / matrix-rust-sdk

Matrix Client-Server SDK for Rust
Apache License 2.0
1.2k stars 240 forks source link

Write to Olm Session was lost, leading to wedged Olm Session and UTDs #3975

Closed richvdh closed 1 week ago

richvdh commented 2 weeks ago

We have a rageshake (https://github.com/element-hq/element-x-android-rageshakes/issues/2624) where there is clear evidence that an update to an Olm session has not been correctly persisted to the cache/store. This inevitably led to the Olm session becoming wedged, and subsequent UTDs.

richvdh commented 2 weeks ago

I wonder if the update to the olm session was not correctly persisted to the in-memory cache? But then, I can't find the code that is meant to do that in the first place.

richvdh commented 1 week ago

Duplicate of #1415

richvdh commented 1 week ago

(see in particular https://github.com/matrix-org/matrix-rust-sdk/issues/1415#issuecomment-2348954811)