]> git-server-git.apps.pok.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>
Tue, 9 Aug 2022 09:50:07 +0000 (09:50 +0000)
commitb59ccfd3fda52121e78ce5d0e04f9ef931480861
treead52e58680ee8953528f41120e2d556dca7f215b
parente9d361f62191a104642c85e7178d2fb4a06ac2d9
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>
src/tools/ceph_objectstore_tool.cc