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

chore: rename to CoreSyncState and update API #308

Merged
merged 6 commits into from
Oct 4, 2023

Conversation

gmaclennan
Copy link
Member

The name was confusing for me, because we also have a "replication state machine". This "CoreSyncState" exists even when cores are not replicating, so I think it makes more sense to use the terms:

  • "sync state" = state of synchronization between cores - are they "in sync" or not
  • "replication" = actualy exchange of data between cores.

@gmaclennan gmaclennan self-assigned this Oct 4, 2023
Copy link
Member

@achou11 achou11 left a comment

Choose a reason for hiding this comment

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

technically non-blocking but changes worth including before merging. other than that, lgtm

tests/core-replication-state.js Outdated Show resolved Hide resolved
tests/core-replication-state.js Outdated Show resolved Hide resolved
Co-authored-by: Andrew Chou <andrewchou@fastmail.com>
Copy link
Member

@achou11 achou11 left a comment

Choose a reason for hiding this comment

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

need to update the implementations to match the rename. sorry, probably should've avoided using the suggestion feature in this case so you could catch that 😄

@gmaclennan gmaclennan merged commit c8d6292 into main Oct 4, 2023
5 of 6 checks passed
@gmaclennan gmaclennan deleted the chore/rename-replication-state branch October 4, 2023 15:05
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