bookkeeper
bookkeeper copied to clipboard
ListUnderReplicatedCommand: support multiple include/exclude bookies
FEATURE REQUEST
- Please describe the feature you are requesting.
ListUnderReplicatedCommand: support multiple include/exclude bookies
- list underreplicated ledgers with replicas missing on either bookie1 OR bookie2, excluding bookie3 and bookie4
- list underreplicated ledgers with replicas missing on bookie1 AND bookie2
- Indicate the importance of this issue to you (blocker, must-have, should-have, nice-to-have). Are you currently using any workarounds to address this issue?
should have.
Workarounds are rather painful:
- listunderreplicated with fragments missing on both bookies, dedupe the lists
- listunderreplicated with fragments missing on both bookies, script around to inner join the lists
- list everything (slooow) and grep
- Provide any additional detail on your proposed use case for this feature.
listunderreplicated with --missingreplica flag prints ledger ids and id of a bookie already passed in the missingreplica param.