Skip to content

Conversation

amotl
Copy link
Member

@amotl amotl commented Sep 23, 2025

About

Analyzing shard distributions is another tool for the XMover utility that uses CrateDB's system tables to find out about cluster imbalances related to shard number and shard size distribution across the whole cluster.

Note: This PR is stacked upon GH-523.

References

WalBeh and others added 2 commits September 23, 2025 23:25
- More or less just line-length fixes.
- Only a single type adjustment was needed on the return value of the
  `analyze_distribution` method.
- Ruff recommended to use set comprehensions, so here we go.
- At a single spot where an exception has been `pass`ed, we added
  error output. Is it bad?
Copy link

coderabbitai bot commented Sep 23, 2025

Important

Review skipped

Auto reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch xmover-shard-distribution-analysis

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@amotl amotl changed the title XMover: Shard distribution analysis Admin/XMover: Shard distribution analysis Sep 23, 2025
@amotl amotl marked this pull request as ready for review September 23, 2025 21:42
@amotl amotl requested review from WalBeh and seut September 23, 2025 21:43
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