]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
RGW: add delay injection options for integration testing
authorOguzhan Ozmen <oozmen@bloomberg.net>
Sun, 9 Nov 2025 00:59:56 +0000 (00:59 +0000)
committerOguzhan Ozmen <oozmen@bloomberg.net>
Thu, 19 Mar 2026 19:57:11 +0000 (19:57 +0000)
commit8ef7172131e4398d9324a57d770c9cd3accfcec0
treedbd38df6d662be2ed23526509f83f35b0d0716a6
parentf7621caf1007171ed53241e9180d82b62c3b9bd5
RGW: add delay injection options for integration testing

Introduce two developer-level configuration options for controlled delay
injection during integration testing:

  - rgw_inject_delay_sec: duration of the injected delay (in seconds)
  - rgw_inject_delay_pattern: pattern to select which delay points are
    activated

These options help reproduce timing-sensitive or race conditions in a
deterministic way during RGW integration tests.

In the future, these options may evolve to support more complex timing
scenarios by using list or map types. This would allow multiple delay
injection points to be configured simultaneously, for example: delaying
pattern A by 5 seconds, pattern B before or after a specific event, or
using different durations for each point.

Signed-off-by: Oguzhan Ozmen <oozmen@bloomberg.net>
(cherry picked from commit 98276d90cd88da085ed3b829832c09f8901fa8d8)
src/common/options/rgw.yaml.in