]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
tools/ceph_objectstore_tool: Add duplicate pg log entries injection
authorNitzanMordhai <nmordech@redhat.com>
Wed, 15 Jun 2022 10:58:26 +0000 (10:58 +0000)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Thu, 8 Sep 2022 16:43:38 +0000 (22:13 +0530)
commit145c7797512f7b0a4b713f8f8b24a32b43d0b4e5
tree6153443850acc09e43d969c36a106562af9ef18e
parent76581bdf43fd0a9b07bc25bb9dd15bb1f0898e1f
tools/ceph_objectstore_tool: Add duplicate pg log entries injection

To be able to recreate and test pg log duplicate entries, a new option
added to the COT: --op pg-log-inject-dups we will also need to provide
--file json_arry of dups, it can get as many dups that need to be inject

the json for dups is in the following format:
{"reqid": "client.n.n:n", "version": "n'n", "user_version": n, "return_code": n}

Signed-off-by: Nitzan Mordechai <nmordec@redhat.com>
(cherry picked from commit b59ccfd3fda52121e78ce5d0e04f9ef931480861)
(cherry picked from commit 124d097a86d273cfebd8d54a467ad220f56bcc21)

Resolves: rhbz#2093106
src/tools/ceph_objectstore_tool.cc