return 0;
}
+ObjectMap::ObjectMapIterator FileStore::get_omap_iterator(
+ CollectionHandle& ch,
+ const ghobject_t &oid)
+{
+ auto osr = static_cast<OpSequencer*>(ch.get());
+ osr->wait_for_apply(oid);
+ return get_omap_iterator(ch->cid, oid);
+}
+
ObjectMap::ObjectMapIterator FileStore::get_omap_iterator(const coll_t& _c,
const ghobject_t &hoid)
{
int omap_check_keys(CollectionHandle& c, const ghobject_t &oid, const set<string> &keys,
set<string> *out) override;
using ObjectStore::get_omap_iterator;
- ObjectMap::ObjectMapIterator get_omap_iterator(CollectionHandle& c, const ghobject_t &oid) override {
- return get_omap_iterator(c->cid, oid);
- }
+ ObjectMap::ObjectMapIterator get_omap_iterator(CollectionHandle& c, const ghobject_t &oid) override;
ObjectMap::ObjectMapIterator get_omap_iterator(const coll_t& cid, const ghobject_t &oid);
int _create_collection(const coll_t& c, int bits,