Skip to content
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

E2E: Messages do not send and stay in green #2541

Closed
manuroe opened this issue Jul 3, 2019 · 1 comment · Fixed by matrix-org/matrix-ios-sdk#701
Closed

E2E: Messages do not send and stay in green #2541

manuroe opened this issue Jul 3, 2019 · 1 comment · Fixed by matrix-org/matrix-ios-sdk#701
Assignees
Labels
A-E2EE-Key-Backup P1 T-Defect Something isn't working: bugs, crashes, hangs and other reported problems
Milestone

Comments

@manuroe
Copy link
Member

manuroe commented Jul 3, 2019

@manuroe manuroe added T-Defect Something isn't working: bugs, crashes, hangs and other reported problems P1 A-E2EE-Key-Backup labels Jul 3, 2019
@manuroe manuroe added this to the Sprint 20 milestone Jul 8, 2019
@manuroe manuroe self-assigned this Jul 8, 2019
@manuroe
Copy link
Member Author

manuroe commented Jul 22, 2019

matrix-org/riot-ios-rageshakes#2637 reveals that there is a race condition when the code downloads the same devices keys twice in a row.

In that case, the 2nd request displays

[MXDeviceList] downloadKeys: waiting for in-flight query to complete

whereas the 1st request completes just before ([MXDeviceListOperationsPool] doKeyDownloadForUsers -> DONE. Got keys for x users and y devices).

In that race condition, the code forever waits for this no more in-flight query of the 2nd request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-E2EE-Key-Backup P1 T-Defect Something isn't working: bugs, crashes, hangs and other reported problems
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant