summaryrefslogtreecommitdiffstats
path: root/src/crimson/os/alienstore/alien_store.h
diff options
context:
space:
mode:
authorRadoslaw Zarzynski <rzarzyns@redhat.com>2021-05-18 16:38:50 +0200
committerKefu Chai <kchai@redhat.com>2021-05-26 02:05:51 +0200
commit3387c1c5aee0c9943f11358844616dbe7138958c (patch)
tree15045ca4b2126dea18b0e7ae4ef948d3f17ca0ff /src/crimson/os/alienstore/alien_store.h
parentMerge pull request #41434 from tchaikov/wip-cmd-getval (diff)
downloadceph-3387c1c5aee0c9943f11358844616dbe7138958c.tar.xz
ceph-3387c1c5aee0c9943f11358844616dbe7138958c.zip
crimson/os: implement inject_{m,}data_error in AlienStore.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Diffstat (limited to 'src/crimson/os/alienstore/alien_store.h')
-rw-r--r--src/crimson/os/alienstore/alien_store.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/crimson/os/alienstore/alien_store.h b/src/crimson/os/alienstore/alien_store.h
index 4c5669e39ca..e6e474ebcff 100644
--- a/src/crimson/os/alienstore/alien_store.h
+++ b/src/crimson/os/alienstore/alien_store.h
@@ -90,6 +90,10 @@ public:
seastar::future<> do_transaction(CollectionRef c,
ceph::os::Transaction&& txn) final;
+ // error injection
+ seastar::future<> inject_data_error(const ghobject_t& o) final;
+ seastar::future<> inject_mdata_error(const ghobject_t& o) final;
+
seastar::future<> write_meta(const std::string& key,
const std::string& value) final;
seastar::future<std::tuple<int, std::string>> read_meta(