Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(docs): incorrect command name and description for autorecovery #12989

Merged
merged 9 commits into from
Dec 8, 2021
Merged

fix(docs): incorrect command name and description for autorecovery #12989

merged 9 commits into from
Dec 8, 2021

Conversation

ericsyh
Copy link
Contributor

@ericsyh ericsyh commented Nov 26, 2021

Signed-off-by: Eric Shen ericshenyuhao@outlook.com

Motivation

The command name and description of bin/bookkeeper autorecovery are not correct on docs now:

Modifications

  • Changed the command name from bin/bookkeeper auto-recovery to bin/bookkeeper autorecovery on related docs.
  • Changed the command description.

Verifying this change

  • Make sure that the change passes the CI checks.

(Please pick either of the following options)

This change is a trivial rework / code cleanup without any test coverage.

(or)

This change is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

(example:)

  • Added integration tests for end-to-end deployment with large payloads (10MB)
  • Extended integration test for recovery after broker failure

Does this pull request potentially affect one of the following parts:

If yes was chosen, please highlight the changes

  • Dependencies (does it add or upgrade a dependency): (no)
  • The public API: (no)
  • The schema: (no)
  • The default values of configurations: (no)
  • The wire protocol: (no)
  • The rest endpoints: (no)
  • The admin cli options: (no)
  • Anything that affects deployment: (no)

Documentation

Check the box below and label this PR (if you have committer privilege).

Need to update docs?

  • doc-required

    (If you need help on updating docs, create a doc issue)

  • no-need-doc

    (Please explain why)

  • doc

    (If this PR contains doc changes)

Signed-off-by: Eric Shen <ericshenyuhao@outlook.com>
@github-actions github-actions bot added the doc Your PR contains doc changes, no matter whether the changes are in markdown or code files. label Nov 26, 2021
@ericsyh
Copy link
Contributor Author

ericsyh commented Dec 1, 2021

@Anonymitaet PTAL

```

Options

|Flag|Description|Default|
|---|---|---|
|`-c`, `--conf`|Configuration for the auto-recovery daemon||
|`-c`, `--conf`|Configuration for the autorecovery||
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

auto-recovery (or auto recovery) is a correct word in the description, why modify that?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree, we should keep the auto-recovery term.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, I updated in 94ebed6

@Anonymitaet Anonymitaet added this to the 2.10.0 milestone Dec 2, 2021
Signed-off-by: Eric Shen <ericshenyuhao@outlook.com>
|-readOnly|Force start a read-only bookie server|false|
|-withAutoRecovery|Start auto-recovery service bookie server|false|
|-withAutoRecovery|Start autorecovery service bookie server|false|
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you miss this one? (and many other places)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok i will take a full check on it.

@Anonymitaet
Copy link
Member

/pulsarbot run-failure-checks

@Anonymitaet Anonymitaet merged commit a89c6e4 into apache:master Dec 8, 2021
@ericsyh ericsyh deleted the docs-cmd-fix branch December 8, 2021 03:51
fxbing pushed a commit to fxbing/pulsar that referenced this pull request Dec 19, 2021
…pache#12989)

* fix(docs): incorrect command name and description for autorecovery

Signed-off-by: Eric Shen <ericshenyuhao@outlook.com>

* update description

Signed-off-by: Eric Shen <ericshenyuhao@outlook.com>

* rollback to auto-recovery term

Signed-off-by: Eric Shen <ericshenyuhao@outlook.com>

* fix missing

Signed-off-by: Eric Shen <ericshenyuhao@outlook.com>

* fix missing

Signed-off-by: Eric Shen <ericshenyuhao@outlook.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc Your PR contains doc changes, no matter whether the changes are in markdown or code files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants