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

Avoid any possibility of sync writing back to remote #740

Merged
merged 3 commits into from
Jul 21, 2023
Merged

Conversation

jnunemaker
Copy link
Collaborator

The goal is for sync to trust the remote and overwrite local with remote.

The problem is that using dual write adapter for poll adapter in cloud means that a sync could write back to remote (cloud). If we use local adapter for poll then a sync can only affect local and never touch remote.

Then we can use dual write with poll adapter as the read and cloud as the remote to ensure that local Flipper.enable calls (and similar) will still go to both local and write.

@jnunemaker jnunemaker self-assigned this Jul 17, 2023
Copy link
Collaborator

@bkeepers bkeepers left a comment

Choose a reason for hiding this comment

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

👍 🧷

@jnunemaker jnunemaker merged commit 73378a7 into main Jul 21, 2023
50 checks passed
@jnunemaker jnunemaker deleted the stuff branch July 21, 2023 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants