Skip to content

reef: osd: always send returnvec-on-errors for client's retry - #59273

Merged
kamoltat merged 1 commit into
ceph:reeffrom
k0ste:wip-64575-reef
Oct 3, 2024
Merged

kamoltat merged 1 commit into
ceph:reeffrom
k0ste:wip-64575-reef

Conversation

@k0ste

@k0ste k0ste commented Aug 17, 2024

Copy link
Copy Markdown
Contributor

Currently there is a discrepancy in terms of the returnvec's
presence between MOSDOpReplys sent for original requests and
those on dups. The former always contain the returnvec if
an error happened, even if `allows_returnvec()` is `false`.

This commit extends the behavior on dups.

For RCA please see: https://tracker.ceph.com/issues/64192#note-9

Fixes: https://tracker.ceph.com/issues/64192
Signed-off-by: Radoslaw Zarzynski <[email protected]>
(cherry picked from commit 6135757)
@k0ste
k0ste requested a review from a team as a code owner August 17, 2024 11:04
@github-actions github-actions Bot added the core label Aug 17, 2024
@github-actions github-actions Bot added this to the reef milestone Aug 17, 2024
@idryomov idryomov modified the milestones: reef, v18.2.5 Aug 20, 2024
@idryomov

Copy link
Copy Markdown
Contributor

@k0ste Any particular reason you haven't opened a quincy backport together with this one?

@k0ste

k0ste commented Aug 21, 2024

Copy link
Copy Markdown
Contributor Author

@k0ste Any particular reason you haven't opened a quincy backport together with this one?

I don't think so. The backports are created over various Redmine filters. Sometimes API return 500's, and scripts handle it as 'skip for a next time'

for issue in issues:
    try:
        ticket = redmine.issue.get(issue["id"])
    except rerrs.ServerError as e:
        logging.critical(
            "Failed to get issue: {0}, error: {1}".format(issue["id"], e)
        )
        pass

Created backport for quincy branch #59378

@kamoltat

kamoltat commented Oct 3, 2024

Copy link
Copy Markdown
Member

@kamoltat
kamoltat merged commit bd14343 into ceph:reef Oct 3, 2024
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