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

Method init

fdbserver/KeyValueStoreRocksDB.actor.cpp:1789–1798  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1787 }
1788
1789 Future<Void> init() override {
1790 if (openFuture.isValid()) {
1791 return openFuture;
1792 }
1793 auto a = std::make_unique<Writer::OpenAction>(
1794 path, metrics, &readSemaphore, &fetchSemaphore, errorListener, counters);
1795 openFuture = a->done.getFuture();
1796 writeThread->post(a.release());
1797 return openFuture;
1798 }
1799
1800 void set(KeyValueRef kv, const Arena*) override {
1801 if (writeBatch == nullptr) {

Callers 1

Calls 4

isValidMethod · 0.45
getFutureMethod · 0.45
postMethod · 0.45
releaseMethod · 0.45

Tested by

no test coverage detected