-
Notifications
You must be signed in to change notification settings - Fork 559
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
cephfs: return success if metadata operation not supported #3348
Conversation
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.
Add a warning log at line 47 ?
when it is found that the cluster does not support having metadata.
Other than the above suggestion, the change looks good to me.
We don't log anything in metadata.go it's too much change to do it. I think its okay to leave the logging as we don't log anything if its an unsupported operations (in previous releases) |
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.
👍
let's backport it too? |
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
/retest ci/centos/mini-e2e/k8s-1.24 |
/retest ci/centos/k8s-e2e-external-storage/1.24 |
@Mergifyio requeue |
❌ This pull request head commit has not been previously disembarked from queue. |
/retest ci/centos/mini-e2e/k8s-1.24 |
@Mergifyio requeue |
❌ This pull request head commit has not been previously disembarked from queue. |
@Mergifyio rebase |
If the ceph cluster is of older version and doesnot support metadata operation, Instead of failing the request return the success if metadata operation is not supported. fixes ceph#3347 Signed-off-by: Madhu Rajanna <[email protected]>
✅ Branch has been successfully rebased |
/retest ci/centos/mini-e2e-helm/k8s-1.22 |
@Mergifyio requeue |
❌ This pull request head commit has not been previously disembarked from queue. |
/retest ci/centos/k8s-e2e-external-storage/1.22 |
/retest ci/centos/upgrade-tests-cephfs |
/retest ci/centos/mini-e2e-helm/k8s-1.24 |
/retest ci/centos/mini-e2e/k8s-1.23 |
/retest ci/centos/mini-e2e/k8s-1.22 |
@Mergifyio requeue |
❌ This pull request head commit has not been previously disembarked from queue. |
/retest ci/centos/mini-e2e-helm/k8s-1.24 |
/retest ci/centos/mini-e2e-helm/k8s-1.22 |
@Mergifyio requeue |
❌ This pull request head commit has not been previously disembarked from queue. |
If the ceph cluster is of the older version and does not support metadata operation, Instead of failing, the request returns the success if metadata operation is not supported.
fixes #3347
Signed-off-by: Madhu Rajanna [email protected]