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

Method onEvictable

fdbserver/VersionedBTree.actor.cpp:2128–2128  ·  view source on GitHub ↗

Entry is evictable when its write and read futures are ready, even if they are errors, so any buffers they hold are no longer needed by the underlying file actors

Source from the content-addressed store, hash-verified

2126 // Entry is evictable when its write and read futures are ready, even if they are
2127 // errors, so any buffers they hold are no longer needed by the underlying file actors
2128 Future<Void> onEvictable() const { return ready(readFuture) && ready(writeFuture); }
2129
2130 // Read and write futures are safe to cancel so just cancel them and return
2131 Future<Void> cancel() {

Callers 1

clear_implMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected