-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Constraint error on byEventId during sync #50
Comments
Again, on FF:
|
Even when you manage to get the value that failed to add in FF, the idb tools are quite horrible (doesn't show index, can't search properly) so it's still hard to figure out why the index (or store?) throws up a ConstraintError, although my guess would be that the key is already there somehow as in the first error? We already guard against:
Perhaps we'll also have to check if any of the event ids in the sync response are already present during sync. Although it would be nice to catch synapse in the act if this would be the case. |
2147483656 or 0x80000008 |
So
is stored as
comes and is assigned |
Aha!
so likely |
The last comments might be related to a problem introduced in the |
Indeed it was, so the original bug is likely about a different issue, but it's a good point that it might not be the eventid index that is faiing but rather the key because the eventIndex is somehow repeated. |
I have no idea if related or not, but I get this on firefox: "Sync failed because of StorageError: IDBRequest failed on hydrogen_session_8284842750974705.roomMembers: (name: AbortError) (code: 20) A request was aborted, for example through a call to IDBTransaction.abort." Refreshing doesn't help. It seems I need to logout and log back in. |
@ptman what browser was that? |
Firefox on linux |
Error in status bar:
In console:
The text was updated successfully, but these errors were encountered: