Skip to content

Wait for all nodes to finish self-healing-open before completing#7556

Merged
cjen1-msft merged 1 commit intomicrosoft:mainfrom
cjen1-msft:wait-for-self-healing-open-to-finish
Jan 14, 2026
Merged

Wait for all nodes to finish self-healing-open before completing#7556
cjen1-msft merged 1 commit intomicrosoft:mainfrom
cjen1-msft:wait-for-self-healing-open-to-finish

Conversation

@cjen1-msft
Copy link
Copy Markdown
Contributor

If the first node queried was still live and had opened, then the script would immediately exit making the next request to the submit_recovery_shares fail, if it chose a failed node.

This way the only exit is either the all complete path, or the timeout path.

@cjen1-msft cjen1-msft marked this pull request as ready for review January 7, 2026 13:42
@cjen1-msft cjen1-msft requested a review from a team as a code owner January 7, 2026 13:42
Copilot AI review requested due to automatic review settings January 7, 2026 13:42
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes a premature exit bug in the start_in_self_healing_open method where the function would return immediately after the first node successfully opened, potentially causing subsequent recovery share submissions to fail if they targeted nodes that hadn't finished their self-healing process.

Key Changes:

  • Replaced early return statement with waiting_nodes.remove(node) to ensure all nodes complete their self-healing process before the function exits

@cjen1-msft cjen1-msft marked this pull request as draft January 7, 2026 13:50
@cjen1-msft cjen1-msft added the run-long-test Run Long Test job label Jan 7, 2026
@cjen1-msft cjen1-msft marked this pull request as ready for review January 7, 2026 14:03
@cjen1-msft cjen1-msft marked this pull request as draft January 7, 2026 16:05
@cjen1-msft
Copy link
Copy Markdown
Contributor Author

cjen1-msft commented Jan 7, 2026

Pipelined behind #7561 as this PR's CI is failing frequently due to it.

@cjen1-msft cjen1-msft removed the run-long-test Run Long Test job label Jan 14, 2026
@achamayou achamayou marked this pull request as ready for review January 14, 2026 13:14
@cjen1-msft cjen1-msft force-pushed the wait-for-self-healing-open-to-finish branch from 760948c to 71f086d Compare January 14, 2026 13:18
@cjen1-msft cjen1-msft merged commit d93d7b4 into microsoft:main Jan 14, 2026
17 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.

4 participants