pulsar icon indicating copy to clipboard operation
pulsar copied to clipboard

[improve][pip] PIP-334: Create a new command: pck (Pulsar Consistency Checker).

Open crossoverJie opened this issue 1 year ago • 2 comments

Motivation

Orphan ledgers can be detected through the PCK API when the bookkeeper's disk is abnormally high. If necessary, we can be deleted directly to free up disk space.

Modifications

Specific implementation logic is referred to in this link.

Verifying this change

  • [ ] Make sure that the change passes the CI checks.

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

  • [ ] Dependencies (add or upgrade a dependency)
  • [x] The public API
  • [ ] The schema
  • [ ] The default values of configurations
  • [ ] The threading model
  • [ ] The binary protocol
  • [ ] The REST endpoints
  • [ ] The admin CLI options
  • [ ] The metrics
  • [ ] Anything that affects deployment

Documentation

  • [x] doc
  • [ ] doc-required
  • [ ] doc-not-needed
  • [ ] doc-complete

Matching PR in forked repository

PR in forked repository:

crossoverJie avatar Jan 30 '24 03:01 crossoverJie

As I mentioned in mail-list. Is it possible to implement this at client side?

This is a good suggestion for whether to refer to the implementation of pulsar-perf.

crossoverJie avatar Feb 19 '24 01:02 crossoverJie

@Jason918 @nodece I have changed the admin-api to the cli application, PTAL.

crossoverJie avatar Apr 12 '24 03:04 crossoverJie