You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently in order to get the inbound_group_session that needs to be backed up you need to load all entries in the db, then you have to decrypt all of them to check for the backed_up bool
If you compare to sqllite store, there is an indexed column for backed_up for quick access
The text was updated successfully, but these errors were encountered:
Currently, querying for inbound group sessions which need backing up is very
inefficient: we have to search through the whole list.
Here, we change the way they are stored so that we can maintain an index of the
ones that need a backup.
Fixes: element-hq/element-web#26488Fixes: #2877
---
* indexeddb: Update storage for inbound_group_sessions
Currently, querying for inbound group sessions which need backing up is very
inefficient: we have to search through the whole list.
Here, we change the way they are stored so that we can maintain an index of the
ones that need a backup.
* Rename functions for clarity
* Remove spurious log line
This was a bit verbose
* Rename constants for i_g_s store names
* improve log messages
* add a warning
* Rename `InboundGroupSessionIndexedDbObject.data`
* formatting
Currently in order to get the inbound_group_session that needs to be backed up you need to load all entries in the db, then you have to decrypt all of them to check for the
backed_up
boolIf you compare to sqllite store, there is an indexed column for
backed_up
for quick accessThe text was updated successfully, but these errors were encountered: