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

curvefs/tool: delete-fs #1014

Merged
merged 1 commit into from
Jan 24, 2022

Conversation

Cyber-SiKu
Copy link
Contributor

@Cyber-SiKu Cyber-SiKu commented Jan 18, 2022

What problem does this PR solve

  1. add -noconfirm for delete-fs
  2. adjust delete-fs confirm input
  3. Readme fix

Issue Number: close #843

Problem Summary:

What is changed and how it works?

What's Changed:

How it Works:

Side effects(Breaking backward compatibility? Performance regression?):

Check List

  • Relevant documentation/comments is changed or added
  • I acknowledge that all my contributions will be made under the project's license

@Cyber-SiKu
Copy link
Contributor Author

recheck

1 similar comment
@Cyber-SiKu
Copy link
Contributor Author

recheck

>
> tree: build a json tree of the current topology.
>
> Usage:
Copy link
Contributor

Choose a reason for hiding this comment

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

The default jsonType is tree?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The default jsonType is tree?

build

> "zone": "zone1"
> },
> {
> "externalip": "10.182.2.47",
Copy link
Contributor

Choose a reason for hiding this comment

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

Keep the ip and port same as above.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Keep the ip and port same as above.

fix

@@ -42,7 +42,7 @@ DEFINE_string(poolId, "1,2,3", "pools id");
DEFINE_bool(detail, false, "show more infomation");
DEFINE_string(partitionId, "1,2,3", "partition id");
DEFINE_string(metaserverId, "1,2,3", "metaserver id");
DEFINE_bool(confirm, false, "confirm execution");
DEFINE_bool(noconfirm, false, "executed command without confirmation");
Copy link
Contributor

Choose a reason for hiding this comment

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

executed -> execute

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fix

> "externalport": 8902,
> "internalip": "10.182.2.48",
> "internalport": 8902,
> "name": "10.182.2.48_2_0",
Copy link
Contributor

Choose a reason for hiding this comment

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

why not display hostname?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

why not display hostname?

in server that is it's name.

@Cyber-SiKu Cyber-SiKu force-pushed the curvefs-tools/delete-fs branch from 6129c27 to 1c33ee6 Compare January 20, 2022 07:53
1. add -noconfirm for delete-fs
2. adjust delete-fs confirm input
3. Readme fix
@Cyber-SiKu Cyber-SiKu force-pushed the curvefs-tools/delete-fs branch from 1c33ee6 to af4e648 Compare January 20, 2022 08:29
@Cyber-SiKu
Copy link
Contributor Author

recheck

@Cyber-SiKu Cyber-SiKu merged commit bf823c3 into opencurve:master Jan 24, 2022
@Cyber-SiKu Cyber-SiKu deleted the curvefs-tools/delete-fs branch January 24, 2022 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

curvefs/tool: delete-fs add noconfirm
3 participants