]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: always send returnvec-on-errors for client's retry 59273/head
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Wed, 14 Feb 2024 00:38:46 +0000 (00:38 +0000)
committerKonstantin Shalygin <k0ste@k0ste.ru>
Sat, 17 Aug 2024 11:04:18 +0000 (18:04 +0700)
commit0f5ea6773b7481fdbff4151c78c588e671349c3e
treed8b1d2e07af37706fc4c9813e6d8497803709d43
parentced649f89259a8c5733cc18a50f42f20f41ba352
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