File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed
Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -798,9 +798,7 @@ class ObjectStore {
798798 omap_iter_seek_t start_from,
799799 std::function<omap_iter_ret_t (std::string_view,
800800 std::string_view)> visitor
801- ) {
802- return -EOPNOTSUPP;
803- }
801+ ) = 0;
804802
805803 virtual int flush_journal () { return -EOPNOTSUPP; }
806804
Original file line number Diff line number Diff line change @@ -347,6 +347,16 @@ class ObjectStoreImitator : public ObjectStore {
347347 ) override {
348348 return {};
349349 }
350+
351+ int omap_iterate (CollectionHandle &c, // /< [in] collection
352+ const ghobject_t &oid, // /< [in] object
353+ // / [in] where the iterator should point to at the beginning
354+ omap_iter_seek_t start_from,
355+ std::function<omap_iter_ret_t (std::string_view, std::string_view)> f
356+ ) override {
357+ return 0 ;
358+ }
359+
350360 void set_fsid (uuid_d u) override {}
351361 uuid_d get_fsid () override { return {}; }
352362 uint64_t estimate_objects_overhead (uint64_t num_objects) override {
You can’t perform that action at this time.
0 commit comments