Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@vadmeste
Copy link
Member

Community Contribution License

All community contributions in this pull request are licensed to the project maintainers
under the terms of the Apache 2 license.
By creating this pull request I represent that I have the right to license the
contributions to the project maintainers under the Apache 2 license.

Description

Manual heal can return XMinioHealInvalidClientToken if the manual healing is started in the first node and the next mc call to get the heal status is landed in another node. The reason is that redirection based on the token id is not able to redirect requests to the first node due to a typo in the code.

This also affects batch cancel command, if the batch is being done in the first node, the user will never be able to cancel it due to the same bug.

Motivation and Context

How to test this PR?

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Optimization (provides speedup with no functional changes)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • Fixes a regression (If yes, please add commit-id or PR # here)
  • Unit tests added/updated
  • Internal documentation updated
  • Create a documentation update request here

Manual heal can return XMinioHealInvalidClientToken if the manual
healing is started in the first node and the next mc call to get the
heal status is landed to another node. The reason is that redirection
based on the token id is not able to redirect requests to the first node
due to a typo.

This also affects batch cancel command, if the batch is being done in
the first node, the user will never be able to cancel it due to the same
bug.
@harshavardhana harshavardhana merged commit 0e98543 into minio:master Nov 13, 2024
21 checks passed
vadmeste added a commit to vadmeste/minio that referenced this pull request Dec 12, 2024
Manual heal can return XMinioHealInvalidClientToken if the manual
healing is started in the first node, and the next mc call to get the
heal status is landed on another node. The reason is that redirection
based on the token ID is not able to redirect requests to the first node
due to a typo.

This also affects the batch cancel command if the batch is being done in
the first node, the user will never be able to cancel it due to the same
bug.
vadmeste added a commit to vadmeste/minio that referenced this pull request Dec 18, 2024
Manual heal can return XMinioHealInvalidClientToken if the manual
healing is started in the first node, and the next mc call to get the
heal status is landed on another node. The reason is that redirection
based on the token ID is not able to redirect requests to the first node
due to a typo.

This also affects the batch cancel command if the batch is being done in
the first node, the user will never be able to cancel it due to the same
bug.
@vadmeste vadmeste deleted the fix-mismatch branch September 19, 2025 09:34
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