Skip to content

RGW - zipper - Remove target from get_obj_attrs() - #62787

Merged
cbodley merged 2 commits into
ceph:mainfrom
dang:wip-dang-getattrs
Oct 17, 2025
Merged

cbodley merged 2 commits into
ceph:mainfrom
dang:wip-dang-getattrs

Conversation

@dang

@dang dang commented Apr 11, 2025 •

Copy link
Copy Markdown
Contributor

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 x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands

@dang
dang requested a review from a team as a code owner April 11, 2025 16:24
@github-actions github-actions Bot added the rgw label Apr 11, 2025
@dang

dang commented Apr 14, 2025

Copy link
Copy Markdown
Contributor Author

jenkins test api

@dang

dang commented Apr 14, 2025

Copy link
Copy Markdown
Contributor Author

jenkins test windows

@dang
dang force-pushed the wip-dang-getattrs branch 2 times, most recently from bef2376 to 11e23d9 Compare April 18, 2025 17:34
@github-actions

Copy link
Copy Markdown

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

pritha-srivastava added a commit to pritha-srivastava/ceph that referenced this pull request Apr 28, 2025
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 <[email protected]>
Signed-off-by: Pritha Srivastava <[email protected]>
dang added 2 commits May 1, 2025 13:19
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 <[email protected]>
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 <[email protected]>
@dang
dang force-pushed the wip-dang-getattrs branch from 11e23d9 to b8079bd Compare May 1, 2025 17:21
@github-actions github-actions Bot added the tests label May 1, 2025
@dang

dang commented May 1, 2025

Copy link
Copy Markdown
Contributor Author

@pritha-srivastava Please review the D4N bits.

@pritha-srivastava

pritha-srivastava commented May 2, 2025 •

Copy link
Copy Markdown
Contributor

@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.

@github-actions

github-actions Bot commented Jul 1, 2025

Copy link
Copy Markdown

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.
If you are a maintainer or core committer, please follow-up on this pull request to identify what steps should be taken by the author to move this proposed change forward.
If you are the author of this pull request, thank you for your proposed contribution. If you believe this change is still appropriate, please ensure that any feedback has been addressed and ask for a code review.

@github-actions github-actions Bot added the stale label Jul 1, 2025
@github-actions

Copy link
Copy Markdown

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!

@github-actions github-actions Bot closed this Jul 31, 2025
@adamemerson adamemerson reopened this Jul 31, 2025
@adamemerson

Copy link
Copy Markdown
Contributor

@pritha-srivastava @dang Do we still need this, and is anything blocking it if so?

@github-actions github-actions Bot removed the stale label Jul 31, 2025
@dang

dang commented Aug 4, 2025

Copy link
Copy Markdown
Contributor Author

Yeah, we should still merge this. Needs review, though.

@github-actions

github-actions Bot commented Oct 3, 2025

Copy link
Copy Markdown

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.
If you are a maintainer or core committer, please follow-up on this pull request to identify what steps should be taken by the author to move this proposed change forward.
If you are the author of this pull request, thank you for your proposed contribution. If you believe this change is still appropriate, please ensure that any feedback has been addressed and ask for a code review.

@github-actions github-actions Bot added the stale label Oct 3, 2025
@anrao19

anrao19 commented Oct 17, 2025

Copy link
Copy Markdown
Contributor

pr testing completed and approved by @ivancich. Please find the details : https://tracker.ceph.com/issues/73370
@dang , if there is not further testing needed this can be merged. Please let me know

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants