Skip to content

Conversation

@ajanikow
Copy link
Collaborator

@ajanikow ajanikow commented Mar 9, 2022

No description provided.

@nikita-vanyasin nikita-vanyasin changed the title Feature/advanced insync discovery [draft] Feature/advanced insync discovery Mar 10, 2022
@nikita-vanyasin nikita-vanyasin force-pushed the feature/advanced_insync_discovery branch from cec7aa9 to 5c0e0f2 Compare March 14, 2022 11:09
@nikita-vanyasin nikita-vanyasin changed the title [draft] Feature/advanced insync discovery Feature/advanced insync discovery Mar 14, 2022
@nikita-vanyasin nikita-vanyasin force-pushed the feature/advanced_insync_discovery branch from 5c0e0f2 to e245fd3 Compare March 14, 2022 11:22
@nikita-vanyasin nikita-vanyasin force-pushed the feature/advanced_insync_discovery branch from 7ab8d48 to 5664552 Compare March 15, 2022 12:10
@nikita-vanyasin nikita-vanyasin force-pushed the feature/advanced_insync_discovery branch from 5664552 to 6d41f7e Compare March 15, 2022 12:50
func (a *actionWaitForMemberInSync) checkCluster() (bool, error) {
if !a.actionCtx.GetShardSyncStatus() {
agencyState, ok := a.actionCtx.GetAgencyCache()
if !ok || agencyState.IsDBServerInSync(a.MemberID()) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

What if you are not DBServer?

Copy link
Contributor

Choose a reason for hiding this comment

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

Done

@ajanikow ajanikow force-pushed the feature/advanced_insync_discovery branch from fbe5aa3 to 422fc8e Compare March 18, 2022 15:50
@ajanikow ajanikow force-pushed the feature/advanced_insync_discovery branch from 422fc8e to b159fa0 Compare March 18, 2022 16:08
@ajanikow ajanikow merged commit 53871be into master Mar 18, 2022
@ajanikow ajanikow deleted the feature/advanced_insync_discovery branch March 18, 2022 23:49
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.

4 participants