MCPcopy Create free account
hub / github.com/apple/foundationdb / listBlobbifiedRanges

Method listBlobbifiedRanges

fdbclient/ThreadSafeTransaction.cpp:178–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176}
177
178ThreadFuture<Standalone<VectorRef<KeyRangeRef>>> ThreadSafeDatabase::listBlobbifiedRanges(const KeyRangeRef& keyRange,
179 int rangeLimit) {
180 DatabaseContext* db = this->db;
181 KeyRange range = keyRange;
182 return onMainThread([=]() -> Future<Standalone<VectorRef<KeyRangeRef>>> {
183 db->checkDeferredError();
184 return db->listBlobbifiedRanges(range, rangeLimit);
185 });
186}
187
188ThreadFuture<Version> ThreadSafeDatabase::verifyBlobRange(const KeyRangeRef& keyRange, Optional<Version> version) {
189 DatabaseContext* db = this->db;

Callers

nothing calls this directly

Calls 3

listBlobbifiedRangesMethod · 0.65
onMainThreadFunction · 0.50
checkDeferredErrorMethod · 0.45

Tested by

no test coverage detected