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

Update FLX subscription state after reporting sync progress #5553

Merged
merged 7 commits into from
Jun 1, 2022

Conversation

jbreams
Copy link
Contributor

@jbreams jbreams commented Jun 1, 2022

What, How & Why?

In #5331 the order in which we report FLX subscription state changes and report sync progress was changed for bootstrap messages. This has had some unintended consequences around when/how the realm gets refreshed with newly bootstrapped data. This change just restores the previous behavior.

This also ensures that the sync transact notifier gets called for bootstrap messages.

Finally it updates the basic FLX sync lifecycle test to not rely on calling refresh().

☑️ ToDos

  • 📝 Changelog update
  • 🚦 Tests (or not relevant)
  • C-API, if public C++ API changed.

@cla-bot cla-bot bot added the cla: yes label Jun 1, 2022
@jbreams jbreams requested a review from danieltabacaru June 1, 2022 15:08
Copy link
Collaborator

@danieltabacaru danieltabacaru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jbreams jbreams requested a review from ironage June 1, 2022 19:40
@jbreams jbreams force-pushed the jbr/update_flx_after_progress branch from 7672a97 to e1333fa Compare June 1, 2022 19:49
Copy link
Contributor

@ironage ironage left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jbreams jbreams merged commit 91c5ac9 into master Jun 1, 2022
@jbreams jbreams deleted the jbr/update_flx_after_progress branch June 1, 2022 20:51
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants