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

Method incrementalDeleteFile

flow/IAsyncFile.actor.cpp:112–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112Future<Void> IAsyncFileSystem::incrementalDeleteFile(const std::string& filename, bool mustBeDurable) {
113 return uncancellable(incrementalDeleteHelper(filename,
114 mustBeDurable,
115 FLOW_KNOBS->INCREMENTAL_DELETE_TRUNCATE_AMOUNT,
116 FLOW_KNOBS->INCREMENTAL_DELETE_INTERVAL));
117}
118
119TEST_CASE("/fileio/incrementalDelete") {
120 // about 5GB

Callers 4

doCloseFunction · 0.80
shutdownFunction · 0.80
shutdownMethod · 0.80

Calls 1

uncancellableFunction · 0.85

Tested by

no test coverage detected