Repository navigation
rbd: rbd export/import for consistent group - #40808
wangshuaich wants to merge 3 commits into
Conversation
6b4ac96 to
6312526
Compare
trociny
left a comment
There was a problem hiding this comment.
@wangshuaich Cool!
I just glanced through it. What was the reason to introduce group_import_set/get cls methods?
And the PR seems to include 3 not related PRs. Probably just needs rebase?
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
There are multiple images in a group If not, there are two problems:
|
I think I see the problem but I still don't like the idea of these new cls methods. I'd like we avoid storing import specific information in images. Though I need to think we can do here. I suppose the same problem exist with v2 image import/export, but with the snapshots, if they are renamed? One of solutions I guess could be extend the |
I see. I can remove the cls methods and put the information in the export file. |
delete cls methods: |
idryomov
left a comment
There was a problem hiding this comment.
There are three unrelated commits in the "Commits" list as well as a bunch of merge commits. Please get rid of them by rebasing on top of latest master. (When incorporating master changes into a PR, it is usually better to rebase than to merge.)
1853a83 to
ed3654d
Compare
Hello!I have dealt with the problem. |
|
@wangshuaich You seemed to squash all your commits into one. You were asked just to get rid off not yours commits. I would still prefer if you provided a separate commit for cls, API, and CLI. |
|
trociny
left a comment
There was a problem hiding this comment.
I still want you to split it into librbd API commit and rbd CLI commit.
And for librbd API, I would prefer Also you need both C and C++ versions, and ideally the python API (pybind/rbd/rbd.pyx) too. Though you can skip the python API if you are not comfortable working on it. |
|
And adding some unit tests for API and functional tests for CLI would be nice too. |
|
This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days. |
|
This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days. |
|
This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days. |
|
This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days. |
|
This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days. |
|
This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days. |
|
This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days. |
|
This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days. |
|
@idryomov - Do we want to keep this open? (its been a while since any work has been done - shall we close this out or figure out next steps?) |
Yes, I'd prefer for all RBD PRs with |
Export data from a consistent group to a file, and import data from a file to a consistent group, both incremental and full, in a manner similar to import and export of image.
Added four new commands:
The format of the full export file:
The format of the incremental export file:
Fixes: https://tracker.ceph.com/issues/18864
Signed-off-by: Wang ShuaiChao [email protected]
Review-by: [email protected]
Review-by: [email protected]
Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume tox