Skip to content

Commit

Permalink
Merge pull request #324 from subhamkrai/add-mon-probe-state
Browse files Browse the repository at this point in the history
mons: restore-quorum should procced with probing
  • Loading branch information
subhamkrai authored Sep 11, 2024
2 parents 89747b6 + 5d1c2b8 commit 66c2a48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/collect-logs/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ runs:
tests/collect-logs.sh
- name: Upload canary test result
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ inputs.name }}
path: test
2 changes: 1 addition & 1 deletion pkg/mons/restore_quorum.go
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ func validateMonIsUp(ctx context.Context, clientsets *k8sutil.Clientsets, cluste

logging.Info("mon %q state is %q", monID, monStatusOut.State)

if monStatusOut.State == "leader" || monStatusOut.State == "peon" {
if monStatusOut.State == "leader" || monStatusOut.State == "peon" || monStatusOut.State == "probing" {
return nil
}

Expand Down

0 comments on commit 66c2a48

Please sign in to comment.