pulsar
pulsar copied to clipboard
[improve][pip] PIP-334: Create a new command: pck (Pulsar Consistency Checker).
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:
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.
@Jason918 @nodece I have changed the admin-api to the cli application, PTAL.