]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: always send returnvec-on-errors for client's retry 59378/head
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Wed, 14 Feb 2024 00:38:46 +0000 (00:38 +0000)
committerKonstantin Shalygin <k0ste@k0ste.ru>
Wed, 21 Aug 2024 09:49:20 +0000 (16:49 +0700)
commitdd3f2082ce6212b8aeeb238713473d9ec2f387ea
tree7f70c500155d9e96b3617b0f35da41d6eef6349c
parent708dfbe8bf48188419041055a94a8560004c3ff3
osd: always send returnvec-on-errors for client's retry

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 <rzarzyns@redhat.com>
(cherry picked from commit 613575719191ce55bc8997577965f3a03e22453c)
src/osd/PrimaryLogPG.cc