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

Function getReadOptions

fdbserver/KeyValueStoreShardedRocksDB.actor.cpp:316–320  ·  view source on GitHub ↗

Set some useful defaults desired for all reads.

Source from the content-addressed store, hash-verified

314
315// Set some useful defaults desired for all reads.
316rocksdb::ReadOptions getReadOptions() {
317 rocksdb::ReadOptions options;
318 options.background_purge_on_iterator_cleanup = true;
319 return options;
320}
321
322struct ReadIterator {
323 rocksdb::ColumnFamilyHandle* cf;

Callers 3

ReadIteratorPoolMethod · 0.70
readRangeInDbFunction · 0.70
actionMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected