]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test/librados/testcase_cxx: set_allow_ec_overwrites wait for overwrite to work 61395/head
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 14:59:09 +0000 (14:59 +0000)
commit367c5b1955883a00b2956750cb92e50943687b5e
treeba411224e1cacb1850a9e8f4926368ed85fa9771
parent15e01c6868047204c9523f6f804b6ac81f7cf587
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