ListUnderReplicatedCommand: support multiple include/exclude bookies
- Dominant language
- Java
- Stars
- 2k
- Forks
- 976
- Avg merge
- 6d 15h
- Merged PRs (30d)
- 7
Description
**FEATURE REQUEST**
1. 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
2. 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
3. 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.
Contributor guide
Assessment
This issue has not been assessed yet.