Skip to content

Conversation

amotl
Copy link
Member

@amotl amotl commented Sep 10, 2025

About

The new subcommand xmover problematic-translogs can find and cancel replica shards with large uncommitted translog sizes. It provides options to set size thresholds and optionally execute cancel commands after user confirmation.

Install

uv pip install --upgrade 'cratedb-toolkit @ git+https://github.com/crate/cratedb-toolkit.git@xmover-problematic-translogs'

Documentation

References

Copy link

coderabbitai bot commented Sep 10, 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-problematic-translogs

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 force-pushed the xmover-problematic-translogs branch from 373efef to 143ffbf Compare September 10, 2025 19:41
Copy link
Member Author

@amotl amotl Sep 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@WalBeh: Unfortunately, the software tests are failing here. I guess CrateDB has to be properly provisioned before.

pytest --no-cov tests/admin/test_problematic_translogs.py

@amotl amotl force-pushed the xmover branch 2 times, most recently from dac2a6d to cb05b4d Compare September 10, 2025 23:21
The new command can find and cancel replica shards with large
uncommitted translog sizes. It provides options to set size thresholds
and optionally execute cancel commands after user confirmation.
@amotl amotl force-pushed the xmover-problematic-translogs branch from 143ffbf to a48d9fc Compare September 17, 2025 16:49
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.

1 participant