Skip to content

[feat]tools-v2: add bs query volume clone-recover#2787

Merged
caoxianfei1 merged 1 commit intoopencurve:masterfrom
baytan0720:queryvolume_clone-recover
Nov 3, 2023
Merged

[feat]tools-v2: add bs query volume clone-recover#2787
caoxianfei1 merged 1 commit intoopencurve:masterfrom
baytan0720:queryvolume_clone-recover

Conversation

@baytan0720
Copy link
Copy Markdown
Member

What problem does this PR solve?

Issue Number: #2584

Problem Summary:

add bs query volume clone-recover

What is changed and how it works?

What's Changed:

How it Works:

Usage:

curve bs query volume clone-recover

Output:

+------+--------------------------------------+--------------------------------------+----------+-------+----------+--------+----------+--------+----------+---------------------+
| USER |                 SRC                  |               TASK ID                | TASKTYPE | FILE  | FILETYPE | ISLAZY | NEXTSTEP | STATUS | PROGRESS |        TIME         |
+------+--------------------------------------+--------------------------------------+----------+-------+----------+--------+----------+--------+----------+---------------------+
| root | a19b5e5e-b306-488f-8e6d-d87282c869cb | d26e27a8-fcbd-4f7a-adf8-53795217cbb0 |  clone   | /root |   file   | false  |   end    |  done  |    1     | 2006-01-02 15:04:05 |
+------+--------------------------------------+--------------------------------------+----------+-------+----------+--------+----------+--------+----------+---------------------+

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

@baytan0720
Copy link
Copy Markdown
Member Author

cicheck

2 similar comments
@baytan0720
Copy link
Copy Markdown
Member Author

cicheck

@baytan0720
Copy link
Copy Markdown
Member Author

cicheck

Comment on lines +119 to +123
item["User"].(string),
item["Src"].(string),
item["UUID"].(string),
item["File"].(string),
item["Result"].(string),
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

defined as constant

@@ -0,0 +1,210 @@
package clone_recover
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

move down

@Cyber-SiKu
Copy link
Copy Markdown
Contributor

@baytan0720 pls fix conflicts.

@baytan0720 baytan0720 force-pushed the queryvolume_clone-recover branch 3 times, most recently from 7c14b18 to 0c324f0 Compare November 1, 2023 03:56
@baytan0720
Copy link
Copy Markdown
Member Author

cicheck

Signed-off-by: baytan0720 <baytan2@hotmail.com>
@baytan0720 baytan0720 force-pushed the queryvolume_clone-recover branch from 0c324f0 to b99178a Compare November 1, 2023 04:06
@baytan0720 baytan0720 closed this Nov 1, 2023
@baytan0720 baytan0720 reopened this Nov 1, 2023
@baytan0720
Copy link
Copy Markdown
Member Author

cicheck

1 similar comment
@baytan0720
Copy link
Copy Markdown
Member Author

cicheck

@caoxianfei1 caoxianfei1 merged commit cf3d33f into opencurve:master Nov 3, 2023
@baytan0720 baytan0720 deleted the queryvolume_clone-recover branch November 3, 2023 03:16
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.

3 participants