]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: always send returnvec-on-errors for client's retry 55570/head
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Wed, 14 Feb 2024 00:38:46 +0000 (00:38 +0000)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Wed, 14 Feb 2024 00:55:35 +0000 (00:55 +0000)
commit613575719191ce55bc8997577965f3a03e22453c
treebbedac8477b5ef25ac75b38bbf0672575da63e28
parentbab43e83ad74841f19b4294dbbe2edc306759a8d
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>
src/osd/PrimaryLogPG.cc