]> 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, 18 Aug 2022 21:42:40 +0000 (21:42 +0000)
commit124d097a86d273cfebd8d54a467ad220f56bcc21
treeb0857b6bc44b87a3bb11a5fd34bdd5ce58c742f9
parent47e8391635a582c11660266a2d6d986b68d4ebdc
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)
src/tools/ceph_objectstore_tool.cc