-
Notifications
You must be signed in to change notification settings - Fork 78
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
fix: panic in mailserver cycle #16278
base: master
Are you sure you want to change the base?
Conversation
Jenkins Builds
|
@richard-ramos i logged in with account i was able to reproduce the issue and the account was keeping multiple communities , but now there is none recovered. Could it be related to the changes you did or it is due to fact i recovered account several times today within 8h and waku is not giving me anything now? :D |
nvm. I understood now! looking into this |
Something that perhaps @saledjenic will want to take a look at is that it seems that when there's a failure executing store node queries, it does not retry them and we have to wait until the 2 min timeout is met to be able to retry. (I did not go deep into the code to confirm so i could be wrong on this observation, so dismiss it if it's the case). If this is the case perhaps something that could be done is to retry the request automatically, or have the timeout be cancelled immediatly so the user can decide whether to retry or continue anyway. |
Not sure at all if failed queries are handled in a way that we're requesting data again if they fail, it's more a question for someone from the messenger team. What I can say is that after the user provides a seed phrase we run the node and that process among others requires history messages from the store node. After the node is run, the client (desktop app) waits for 2 minutes, expecting data to be received, if not, we offer a user an option to re-request data explicitly, then this function is called https://github.com/status-im/status-go/blob/develop/protocol/messenger_mailserver.go#L259-L282, after it, the client waits for 2 minutes again and after that period if data are still not fetched offers the same option again to re-request data and so on. |
Fixes:
Requires: