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

Bootstrap store is not being reset if initial subscription bootstrap is interrupted by role change #7827

Closed
sync-by-unito bot opened this issue Jun 20, 2024 · 3 comments · Fixed by #7831
Assignees

Comments

@sync-by-unito
Copy link

sync-by-unito bot commented Jun 20, 2024

During the testing for the "handle role changes without client reset" feature, it was discovered that the bootstrap store was not being cleared out if the initial subscription bootstrap (for query version 1) was interrupted by a role change, leading to extra records in the local realm once the role change and subscription bootstraps had completed.

Update the operation of the bootstrap store to be cleared any time the session is started, regardless of whether it is being started from scratch or resumed after being suspended.

Copy link
Author

sync-by-unito bot commented Jun 20, 2024

➤ PM Bot commented:

Jira ticket: RCORE-2174

@sync-by-unito sync-by-unito bot changed the title Bootstrap store is not being reset if initial subscription boostrap is interrupted by role change Bootstrap store is not being reset if initial subscription bootstrap is interrupted by role change Jun 21, 2024
@sync-by-unito sync-by-unito bot closed this as completed Jul 4, 2024
Copy link
Author

sync-by-unito bot commented Jul 4, 2024

➤ michael-wb commented:

Updated the Session so it will also apply a pending bootstrap (or clears it) when the session is resumed.

@sync-by-unito sync-by-unito bot reopened this Jul 18, 2024
@michael-wb
Copy link
Contributor

Issue was automatically reopened when it was added as a dependency of #7896.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant