RGW - zipper - Remove target from get_obj_attrs()#62787
Conversation
|
jenkins test api |
|
jenkins test windows |
value in get_obj_attrs() from backend store, using read_op->prepare() method. target_obj will be removed from get_obj_attrs as part of this PR: ceph#62787 and it was being used to get the object's instance value. so using read_op->prepare(), till this gets fixed Samarah identified that returning ENOENT when target_obj is NULL, is incorrect and suggested removing that. Signed-off-by: Samarah <samarah.uriarte@ibm.com> Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
value in get_obj_attrs() from backend store, using read_op->prepare() method. target_obj will be removed from get_obj_attrs as part of this PR: ceph#62787 and it was being used to get the object's instance value. so using read_op->prepare(), till this gets fixed Samarah identified that returning ENOENT when target_obj is NULL, is incorrect and suggested removing that. Signed-off-by: Samarah <samarah.uriarte@ibm.com> Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
bef2376 to
11e23d9
Compare
value in get_obj_attrs() from backend store, using read_op->prepare() method. target_obj will be removed from get_obj_attrs as part of this PR: ceph#62787 and it was being used to get the object's instance value. so using read_op->prepare(), till this gets fixed Samarah identified that returning ENOENT when target_obj is NULL, is incorrect and suggested removing that. Signed-off-by: Samarah <samarah.uriarte@ibm.com> Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
value in get_obj_attrs() from backend store, using read_op->prepare() method. target_obj will be removed from get_obj_attrs as part of this PR: ceph#62787 and it was being used to get the object's instance value. so using read_op->prepare(), till this gets fixed Samarah identified that returning ENOENT when target_obj is NULL, is incorrect and suggested removing that. Signed-off-by: Samarah <samarah.uriarte@ibm.com> Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
value in get_obj_attrs() from backend store, using read_op->prepare() method. target_obj will be removed from get_obj_attrs as part of this PR: ceph#62787 and it was being used to get the object's instance value. so using read_op->prepare(), till this gets fixed Samarah identified that returning ENOENT when target_obj is NULL, is incorrect and suggested removing that. Signed-off-by: Samarah <samarah.uriarte@ibm.com> Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
The target argument to get_obj_attrs() was only used internally to RadosStore and DBStore, and never by callers of the API. Remove it entirely, to reduce API complexity. Signed-off-by: Daniel Gryniewicz <dang@fprintf.net>
get_obj_attrs() gets the instance of the object, but isn't setting it into the Object. Do this, so that calling get_obj_attrs() ensures the instance is correct. Signed-off-by: Daniel Gryniewicz <dang@fprintf.net>
|
@pritha-srivastava Please review the D4N bits. |
The D4N bits look fine to me, @samarahu : for testing the failure in D4N suite you can use this PR instead of the temp commit we created. |
|
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 closed because there has been no activity for 90 days. Please feel free to reopen this pull request (or open a new one) if the proposed change is still appropriate. Thank you for your contribution! |
|
@pritha-srivastava @dang Do we still need this, and is anything blocking it if so? |
|
Yeah, we should still merge this. Needs review, though. |
|
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. |
|
pr testing completed and approved by @ivancich. Please find the details : https://tracker.ceph.com/issues/73370 |
The target argument to get_obj_attrs() was only used internally to RadosStore and DBStore, and never by callers of the API. Remove it entirely, to reduce API complexity.
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job Definition