Element needs to protect itself in case system storage runs out #917
HarHarLinks
started this conversation in
Product Feedback
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've now experienced this on Windows (Desktop+Browser), Linux (Desktop), and iOS.
It may happen (unexpectedly) that the system runs out of space.
In my understanding, Element needs to constantly save rotating keys for e2ee messages etc, so it tries to constantly write data. Obviously that fails when there is no more storage.
When that happens, the clientside storage including keys corrupts and the session is no longer usable.
Element should protect against that, and in my eyes e2ee is not production ready without it.
The simplest way to do this is probably to stop processing data once a write error/full disk is detected and "go offline". After the user resolved the storage issue, Element can then pick up where it left off as it usually does when it is restarted.
Beta Was this translation helpful? Give feedback.
All reactions