-
Notifications
You must be signed in to change notification settings - Fork 103
CMR-11022: Update readme for reshard for bootstrap and indexer #2377
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
Conversation
|
Caution Review failedThe pull request is closed. 📝 WalkthroughWalkthroughThis PR updates resharding documentation in bootstrap-app and indexer-app READMEs: it formalizes a Start → Status → Finalize flow, consolidates Required params blocks (including Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 2
🤖 Fix all issues with AI agents
In `@bootstrap-app/README.md`:
- Around line 107-110: The markdown "Required params:" blocks have their
"Options:" sub-lists indented with 4 spaces which violates MD007; locate each
"Required params:" section (e.g., the block containing "num_shards" and
"elastic_name" and its "Options:" sub-list) and reduce the sub-list indentation
from 4 spaces to 2 spaces so the nested list items align as a proper markdown
sub-list; apply the same fix to the other "Required params:" blocks that contain
"num_shards", "elastic_name" and "Options:" occurrences.
In `@indexer-app/README.md`:
- Around line 232-235: The markdown list under "Required params:" violates MD007
due to 4-space indentation on the sub-list; locate the bullet containing
"elastic_name = string (elastic cluster name you want to reshard in)" and the
nested line "Options: `gran-elastic` or `elastic`" and reduce the sub-list
indentation from 4 spaces to 2 spaces so the nested list aligns correctly with
markdownlint expectations.
🧹 Nitpick comments (2)
indexer-app/README.md (1)
226-238: Clarify rollback eligibility wording.“Rollback will be allowed IF…” reads awkwardly and is easy to misinterpret. Consider a more direct sentence for operator clarity.
Proposed wording tweak
-Rollback will be allowed IF the reshard has not been finalized, else it will not allow +Rollback is allowed only if the reshard has not been finalized; otherwise it is rejected.bootstrap-app/README.md (1)
92-106: Tighten resharding wording.“Going to be resharded” is less direct; “will be resharded” reads cleaner.
Proposed wording tweak
-You MUST give the elastic_name parameter to tell CMR which elastic cluster your index is in that is going to be resharded. +You MUST give the elastic_name parameter to tell CMR which elastic cluster your index is in that will be resharded.
Overview
What is the objective?
To update the bootstrap and the indexer readme to be more clear on how to use the reshard APIs
What are the changes?
Update bootstrap and indexer readme
What areas of the application does this impact?
None
Required Checklist
Additional Checklist
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.