-
Couldn't load subscription status.
- Fork 580
rbd: skip comparing volumes in a group if new group is created #5345
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
Conversation
|
@Nikhil-Ladha |
It's not about initialising the list. If you check the trace mentioned in the lined issue, the error happened here: https://github.com/ceph/ceph-csi/blob/devel/internal/rbd/manager.go#L585 where we are checking using the 0th index directly ( |
Then, @iPraveenParihar approach would be preferred #5345 (comment) |
While calling CreateVolumeGroup RPC, if a new group is being created we can skip comparing volumes in a group because it is redundant. Signed-off-by: Nikhil-Ladha <[email protected]>
57a77d9 to
66a975a
Compare
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.
LGTM
|
@Mergifyio rebase |
☑️ Nothing to do, the required conditions are not met
|
|
@Mergifyio queue |
✅ The pull request has been merged automaticallyThe pull request has been merged automatically at 2217e5c |
|
/test ci/centos/upgrade-tests-cephfs |
|
/test ci/centos/k8s-e2e-external-storage/1.31 |
|
/test ci/centos/k8s-e2e-external-storage/1.32 |
|
/test ci/centos/upgrade-tests-rbd |
|
/test ci/centos/mini-e2e-helm/k8s-1.31 |
|
/test ci/centos/k8s-e2e-external-storage/1.30 |
|
/test ci/centos/mini-e2e-helm/k8s-1.32 |
|
/test ci/centos/mini-e2e/k8s-1.31 |
|
/test ci/centos/mini-e2e-helm/k8s-1.30 |
|
/test ci/centos/mini-e2e/k8s-1.32 |
|
/test ci/centos/mini-e2e/k8s-1.30 |
|
This pull request has been removed from the queue for the following reason: The pull request can't be updated. You should update or rebase your pull request manually. If you do, this pull request will automatically be requeued once the queue conditions match again. |
|
@Nikhil-Ladha, do we need to back port this to v3.13 & v3.14? |
Only |
While calling CreateVolumeGroup RPC, if a new group is being created we can skip comparing volumes in a group because it is redundant.
Fixes: #5344