commit | 4a84de646f8d43dca675b379d6d889e084876e19 | [log] [tgz] |
---|---|---|
author | Yunze Xu <xyzinfernity@163.com> | Tue Oct 27 11:34:31 2020 +0800 |
committer | GitHub <noreply@github.com> | Tue Oct 27 11:34:31 2020 +0800 |
tree | d4af68564b9a976e88910476be5d812b77ec2f1b | |
parent | b10fc0ad277300ff0ac681983ff2548c60355dab [diff] |
Delete associated ledgers before deleting cluster metadata (#8244) ### Motivation #8169 introduced a command tool to delete a cluster's metadata from ZK. This PR intends to delete the cluster's ledgers from BK. ### Modifications - Retrieve ledger ids from related ZK nodes - Add an optional argument to specify BK metadata service URI, then delete these ledgers if it's specified