bookkeeper icon indicating copy to clipboard operation
bookkeeper copied to clipboard

ListUnderReplicatedCommand: support multiple include/exclude bookies

Open dlg99 opened this issue 3 years ago • 0 comments

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
  1. 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
  1. 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.

dlg99 avatar May 04 '22 22:05 dlg99