-
Notifications
You must be signed in to change notification settings - Fork 526
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
[feat]tools-v2: add bs check consistency #2782
[feat]tools-v2: add bs check consistency #2782
Conversation
cicheck |
c016e8b
to
dc021a1
Compare
cicheck |
1 similar comment
cicheck |
@@ -0,0 +1,183 @@ | |||
/* | |||
* Copyright (c) 2022 NetEase Inc. | |||
* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
move to pkg/cli/command/curvebs/query/chunkhash?
LogicPoolId : &logicalpoolid, | ||
CopysetId : ©setid, | ||
ChunkId : &chunkid, | ||
Offset : &offset, | ||
Length : &chunksize, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Align
cicheck |
@@ -0,0 +1,194 @@ | |||
/* | |||
* Copyright (c) 2022 NetEase Inc. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Copyright (c) 2022 NetEase Inc. | |
* Copyright (c) 2023 NetEase Inc. |
5dc1cbe
to
e55335d
Compare
cicheck |
1 similar comment
cicheck |
Signed-off-by: victorseptember <[email protected]>
e55335d
to
c007640
Compare
cicheck |
2 similar comments
cicheck |
cicheck |
cicheck |
What problem does this PR solve?
Issue Number: #2351
Problem Summary: Add bs check consistency command.
What is changed and how it works?
What's Changed:
modify tools-v2/README.md
modify tools-v2/internal/error/error.go
modify tools-v2/pkg/cli/command/curvebs/check/check.go
modify tools-v2/pkg/cli/command/curvebs/query/seginfo/seginfo.go
modify tools-v2/pkg/cli/command/curvebs/status/copyset/agent.go
add tools-v2/pkg/cli/command/curvebs/check/consistency/consistency.go
How it Works:
Usage:
Output:
Side effects(Breaking backward compatibility? Performance regression?):
Check List