-
Notifications
You must be signed in to change notification settings - Fork 167
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
Multiplexing seems to periodically crash the SyncClient during Client Reset #6656
Comments
➤ michael-wb commented: Here is the conversation for the failure seen with the JS SDK: https://mongodb.slack.com/archives/CUSNYAJ4R/p1684334160942949 This was seen when a JSON error was received from the server, resulting in the crash. |
➤ michael-wb commented: The SessionWrapper has a pointer to the ClientImpl::Session and the Connection holds the unique_ptr for the Session. In addition, the Session has references to its SessionWrapper and Connection. Investigating the best way to handle the different lifetimes... |
* Update realm-core to v13.12.0 * Ran ffigen to update realm_bindings.dart * Fix realm_core.dart after upgrade * Disable multiplexing for now, due to: realm/realm-core#6656 * Update CHANGELOG * Fix mistake in CHANGELOG.md * Tweak logger tests to match trace level of v13.12.0 * Remove links to realm-core PRs/issues from CHANGELOG.md
Reported internally on Slack here: https://mongodb.slack.com/archives/CUSNYAJ4R/p1684334160942949
Seen by JS, Kotlin and Swift.
This is a CI run on Kotlin hitting this: https://ci.realm.io/blue/organizations/jenkins/realm%2Frealm-kotlin/detail/main/120/pipeline
So far, it has not been possible to reproduce it locally.
So far the theory is that this is connected to multiplexing which was just recently enabled.
Multiplexing can be disabled again using
realm_sync_client_config_set_multiplex_sessions()
in the C-API. We need more testing to figure out if this is enough to work around the problem until a proper fix can be found.The text was updated successfully, but these errors were encountered: