-
Notifications
You must be signed in to change notification settings - Fork 173
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
Resuming a Session while it's waiting to auto-resume from a non-fatal error can crash #6961
Comments
➤ Jonathan Reams commented: What are the cases where this could happen? When you call |
➤ danieltabacaru commented: Can't there be a race between the SyncSession becoming inactive (as a result of SessionImpl receiving a fatal error) and reconnect being called? There may be other cases when this can happen though. |
➤ Jonathan Reams commented: Got it, I've reproduced this in a test. I think I know what to do now. |
➤ Jonathan Reams commented: I was able to reproduce the original description of this ticket but couldn't actually get it to crash. So I went back to the logs and was able to reproduce the exact crash in RNET-1051 by calling |
If you resume a session that has received a non-fatal error (i.e. InitialSyncNotCompleted) before the timer to auto-resume the session has fired and then you receive another non-fatal error you can crash when the sync client tries to create a new auto-resume timer.
The text was updated successfully, but these errors were encountered: