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

Do not return the instances from peer, if sync health check failed. #1503

Merged
merged 3 commits into from
Mar 6, 2025

Conversation

humingcheng
Copy link
Contributor

No description provided.

checkWindow: NewHealthCheckWindow(8, 5),
// 同步恢复期间,最近6次检查,2次失败即视为不健康,即最多1次失败,90s。
syncRecoveryWindow: NewHealthCheckWindow(6, 2),
shouldTrustPeerServer: true, // 默认信任对端,只有通过检查确认不对端琺连接,两个SC割裂,才认为对端不可信任
Copy link

Choose a reason for hiding this comment

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

注释意义不明

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@humingcheng humingcheng force-pushed the sync branch 2 times, most recently from 7f29735 to a2172a8 Compare March 6, 2025 10:06
@humingcheng humingcheng merged commit 775ee36 into apache:dev Mar 6, 2025
4 of 8 checks passed
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