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
When a session is suspended it starts to send an UNBIND message to tell the server the session is over. If the session is resumed before that UNBIND message finishes sending, then any commit to the database can fail an assertion in Session::recognize_sync_version() which expects either the session to be suspended or for the unbind message to not have been sent. Once the unbind message finishes sending, it will take care of restarting the session.
The text was updated successfully, but these errors were encountered:
I was able to reproduce this crash, but it seems to be a very specific case:
session is disconnecting because of an error (e.g. client reset)
while the session is being suspended, around the same time async_write() is called for the the UNBIND message:
handle_reconnect() is called to restart the session
a write is performed to the realm
In the case this FLX migration test, the sync session is restarting to perform a PBS->FLX migration client reset, which writes state info to the migration store in the realm and at the same time, the test is calling handle_reconnect() to restart the session here.
When a session is suspended it starts to send an UNBIND message to tell the server the session is over. If the session is resumed before that UNBIND message finishes sending, then any commit to the database can fail an assertion in
Session::recognize_sync_version()
which expects either the session to be suspended or for the unbind message to not have been sent. Once the unbind message finishes sending, it will take care of restarting the session.The text was updated successfully, but these errors were encountered: