]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
test/c_write_operations: set RETURNVEC on expected cmpext failuer 50210/head
authorNitzan Mordechai <nmordech@redhat.com>
Wed, 22 Feb 2023 12:55:16 +0000 (12:55 +0000)
committerNitzan Mordechai <nmordech@redhat.com>
Mon, 24 Apr 2023 07:48:49 +0000 (07:48 +0000)
commit7fa4f28434ceb2cb8d78aa17de800eb4c589abd5
tree122c8aa65f9f299a0a74ad17cfda2e4916eb34e0
parent7870a6290ddb444a82719c24bd8568af3a2c29ad
test/c_write_operations: set RETURNVEC on expected cmpext failuer

We are sending cmpext request that return error and rval error.
In order to get reliably rval return for cmpext, we need to set RETURNVEC
flag so we record in pg log in case of reconnect during socket injection.
without that flag the re-request of the op won't have the rval set
and we will end with unmatch error.

Fixes: https://tracker.ceph.com/issues/21592
Signed-off-by: Nitzan Mordechai <nmordec@redhat.com>
src/test/librados/c_write_operations.cc