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

Marking subscriptions complete can cause a crash with realm::KeyNotFound after a client reset #7090

Closed
sync-by-unito bot opened this issue Oct 30, 2023 · 0 comments
Assignees

Comments

@sync-by-unito
Copy link

sync-by-unito bot commented Oct 30, 2023

SessionWrapper reads the state of the SubscriptionStore when it is created, but this state can change after a client reset (when then state of existing subscription may change, in addition to new subscriptions being created and old subscriptions being removed). This can cause a crash with realm::KeyNotFound when trying to update a subscription which does not exist anymore (https://evergreen.mongodb.com/task_log_raw/realm_core_stable_ubuntu2004_arm64_baas_integration_tests_patch_0857dbdf5a6c063df776790cccba4a57fdb25e2d_653d959a2fbabe3ddbb485a2_23_10_28_23_14_53/0?type=T&text=true).

@sync-by-unito sync-by-unito bot closed this as completed Nov 1, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant