You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kvrocks.apache.org by "alok-kumar0421 (via GitHub)" <gi...@apache.org> on 2025/11/28 07:35:14 UTC
[PR] Improve: update and enhance slot migration API documentation [kvrocks-controller]
alok-kumar0421 opened a new pull request, #369:
URL: https://github.com/apache/kvrocks-controller/pull/369
## Summary
This PR improves the Slot Migration API documentation in `docs/API.md`.
The earlier version of this section was incomplete and did not fully explain the fields, behavior, or possible responses of the migration endpoint.
Since this API is important for resharding and operational workflows, having accurate documentation is essential.
---
## Improvements in This PR
- Added missing fields used by the migration endpoint
(`slot_only`, `pipeline_size`, `speed`)
- Corrected `slot_only` to boolean, matching the real API behavior
- Added clear descriptions for each request parameter
- Documented all relevant response types, including error cases
- Explained the migration lifecycle and slot state transitions
- Improved formatting to keep it consistent with the rest of the API docs
---
## Motivation
Users relying on slot migration (especially for automation or cluster maintenance) need complete and reliable documentation.
The previous version did not cover several important details, which could cause confusion or incorrect usage.
This update aims to provide a clearer and more accurate reference for anyone interacting with the migration API.
---
## Notes
- This PR changes **documentation only**
- No functional code is modified
- Open to feedback if maintainers want additional clarification or examples
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@kvrocks.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Improve: update and enhance slot migration API documentation [kvrocks-controller]
Posted by "alok-kumar0421 (via GitHub)" <gi...@apache.org>.
alok-kumar0421 closed pull request #369: Improve: update and enhance slot migration API documentation
URL: https://github.com/apache/kvrocks-controller/pull/369
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@kvrocks.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org