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

Method truncateFile

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

Source from the content-addressed store, hash-verified

296 Int64MetricHandle stallCount;
297
298 Future<Void> truncateFile(int file, int64_t pos) { return truncateFile(this, file, pos); }
299
300 // FIXME: Merge this function with IAsyncFileSystem::incrementalDeleteFile().
301 ACTOR static void incrementalTruncate(Reference<IAsyncFile> file) {

Callers 3

setPoppedPageMethod · 0.95
readFirstAndLastPagesMethod · 0.95

Calls 5

TraceEventClass · 0.85
detailMethod · 0.80
onSyncMethod · 0.80
VoidClass · 0.50
zeroRangeMethod · 0.45

Tested by

no test coverage detected