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

Method onSync

fdbserver/DiskQueue.actor.cpp:115–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113 }
114
115 Future<Void> onSync() { // Future is set when all writes completed before the call to onSync are complete
116 if (outstanding.size() <= outstandingLimit)
117 outstanding.push_back(waitAndSync(this));
118 return outstanding.back();
119 }
120
121private:
122 int outstandingLimit;

Callers 3

pushAndCommitMethod · 0.80
truncateFileMethod · 0.80
Future<Void> syncFunction · 0.80

Calls 3

sizeMethod · 0.45
push_backMethod · 0.45
backMethod · 0.45

Tested by

no test coverage detected