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

fix: only mark sync state enabled when entire group is enabled #785

Merged
merged 2 commits into from
Aug 29, 2024

Conversation

EvanHahn
Copy link
Contributor

Imagine the following scenario:

  • auth namespace sync is enabled.
  • config namespace sync is disabled.
  • blobIndex namespace sync is enabled.

Previously, this would report the initial namespace sync state as enabled. Now, this will report disabled, because every namespace needs to be on.

Imagine the following scenario:

- *auth* namespace sync is enabled.
- *config* namespace sync is disabled.
- *blobIndex* namespace sync is enabled.

Previously, this would report the initial namespace sync state as
*enabled*. Now, this will report *disabled*, because every namespace
needs to be on.
@EvanHahn EvanHahn force-pushed the dont-mark-remote-peers-enabled-until-all-enabled branch from 7dcdd03 to c81dd01 Compare August 27, 2024 20:21
@EvanHahn EvanHahn marked this pull request as ready for review August 27, 2024 20:26
Copy link
Member

@gmaclennan gmaclennan left a comment

Choose a reason for hiding this comment

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

This has got quite hard to follow, but the code is correct and looks like it will work to me.

@gmaclennan gmaclennan merged commit ae81496 into main Aug 29, 2024
7 checks passed
@gmaclennan gmaclennan deleted the dont-mark-remote-peers-enabled-until-all-enabled branch August 29, 2024 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants