]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
test/librados/testcase_cxx: set_allow_ec_overwrites wait for overwrite to work
authorSamuel Just <sjust@redhat.com>
Fri, 31 May 2024 18:42:58 +0000 (11:42 -0700)
committerNitzan Mordechai <nmordech@redhat.com>
Wed, 15 Jan 2025 10:16:31 +0000 (10:16 +0000)
commit9981296bf0433eab346094426cb96da5489ccfbd
treeec0a3eea72da179f701fad774202f11cf3b20dec
parentf032a12cb25ba36ebc2152a857aaba76fabdd059
test/librados/testcase_cxx: set_allow_ec_overwrites wait for overwrite to work

The mon command to enable ec overwrites succeeds once the mon commits
the update.  However, actual IOs won't suceed until the map is actually
propagated to OSDs.  Update set_allow_ec_overwrites to try performing
overwrites until it actually succeeds (with a 120s timelimit) before
returning.

Fixes: https://tracker.ceph.com/issues/66226
Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit 5d26a6cbc63c1d5f9fdd6941e3fce46302f7864c)
src/test/librados/testcase_cxx.cc