Skip to content

Conversation

@zymap
Copy link
Member

@zymap zymap commented Nov 14, 2019


Master Issue: #127

Motivation

Support bookkeeper autorecovery commands in Pulsarctl.

Modifications

Add bookkeeper autorecovery commands.

Output

➜  pulsarctl-yong git:(autorecovery_cmd) ./pulsarctl bookkeeper autorecovery
Operations about ledger

Usage: pulsarctl bookkeeper autorecovery [flags]

Commands:
  decommission  Decommission a bookie
  getdelay    Get the lost bookie recovery delay of a bookie
  listunderreplicatedledger  List all the underreplicated ledgers which have been marked for rereplication
  recoverbookie  Recover the ledger data of a failed bookie
  setdelay    Set the lost bookie recovery delay
  triggeraudit  Trigger audit by resetting the lostBookieRecoveryDelay
  whoisauditor  Get who is the auditor

Aliases: autorecovery,

Common flags:
  -s, --admin-service-url string    The admin web service url that pulsarctl connects to. (default "http://localhost:8080")
      --auth-params string          Authentication parameters are used to configure the public and private key files required by tls
                                     For example: "tlsCertFile:val1,tlsKeyFile:val2"
      --bookie-service-url string   The bookie web service url that pulsarctl connects to. (default "http://localhost:8080")
  -C, --color string                toggle colorized logs (true,false,fabulous) (default "true")
  -h, --help                        help for this command
      --tls-allow-insecure          Allow TLS insecure connection
      --tls-trust-cert-pat string   Allow TLS trust cert file path
      --token string                Using the token to authentication
      --token-file string           Using the token file to authentication
  -v, --verbose int                 set log level, use 0 to silence, 4 for debugging (default 3)

Use 'pulsarctl bookkeeper autorecovery [command] --help' for more information about a command.

@zymap zymap added this to the 0.2.0 milestone Nov 14, 2019
@zymap zymap self-assigned this Nov 14, 2019
@zymap zymap mentioned this pull request Nov 14, 2019
5 tasks
@zymap zymap requested review from sijie and wolfstudy and removed request for wolfstudy November 14, 2019 09:03
---

Master Issue: streamnative#127

*Motivation*

Support bookkeeper autorecovery commands in Pulsarctl.

*Modifications*

Add bookkeeper autorecovery commands.
@zymap zymap changed the title [BK-SUPPORT-PART-4] Support bookkeeper autorecovery commands [WIP][BK-SUPPORT-PART-4] Support bookkeeper autorecovery commands Nov 25, 2019
@zymap
Copy link
Member Author

zymap commented Nov 26, 2019

0.2.0 will release soon. Let's move this to 0.3.0

@zymap zymap modified the milestones: 0.2.0, 0.3.0 Nov 26, 2019
@zymap zymap force-pushed the autorecovery_cmd branch from 2e38ae0 to 6ca514d Compare January 8, 2020 07:45
@zymap zymap changed the title [WIP][BK-SUPPORT-PART-4] Support bookkeeper autorecovery commands [BK-SUPPORT-PART-4] Support bookkeeper autorecovery commands Jan 8, 2020
@zymap
Copy link
Member Author

zymap commented Jan 8, 2020

@sijie PTAL. I will using the testcotainer to add the test in another pull request.

@sijie sijie merged commit bceaca7 into streamnative:master Jan 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants