MCPcopy Create free account
hub / github.com/ElementsProject/elements / MaxGrandParentOverlapBytes

Function MaxGrandParentOverlapBytes

src/leveldb/db/version_set.cc:31–33  ·  view source on GitHub ↗

Maximum bytes of overlaps in grandparent (i.e., level+2) before we stop building a single file in a level->level+1 compaction.

Source from the content-addressed store, hash-verified

29// Maximum bytes of overlaps in grandparent (i.e., level+2) before we
30// stop building a single file in a level->level+1 compaction.
31static int64_t MaxGrandParentOverlapBytes(const Options* options) {
32 return 10 * TargetFileSize(options);
33}
34
35// Maximum number of bytes in all compacted files. We avoid expanding
36// the lower level file set of a compaction if it would make the

Callers 3

IsTrivialMoveMethod · 0.85
ShouldStopBeforeMethod · 0.85

Calls 1

TargetFileSizeFunction · 0.85

Tested by

no test coverage detected