]> 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
authorSamuel Just <sjust@redhat.com>
Fri, 31 May 2024 18:42:58 +0000 (11:42 -0700)
committerNitzan Mordechai <nmordech@redhat.com>
Thu, 27 Jun 2024 11:07:41 +0000 (11:07 +0000)
commit28fb158a6294c183c3e04cb5f2ddf10f36fc40c6
treebdac30042bedfc3fcea0695320f6ac1f99d4f8ad
parentc7284b346e6128b70dfe55e8d5cad56577dd2a8a
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 426f225d4e6ec7e037260a234896ef9c8d6aec82)
src/test/librados/testcase_cxx.cc