MCPcopy Create free account
hub / github.com/ByConity/ByConity / reserveSpace

Method reserveSpace

src/MergeTreeCommon/MergeTreeMetaBase.cpp:1228–1232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1226}
1227
1228ReservationPtr MergeTreeMetaBase::reserveSpace(UInt64 expected_size, StorageLocation location) const
1229{
1230 expected_size = std::max(RESERVATION_MIN_ESTIMATION_SIZE, expected_size);
1231 return getStoragePolicy(location)->reserveAndCheck(expected_size);
1232}
1233
1234ReservationPtr MergeTreeMetaBase::reserveSpace(UInt64 expected_size, SpacePtr space)
1235{

Callers 11

executeImplMethod · 0.80
executeImplMethod · 0.80
executeImplMethod · 0.80
MergeTreeDataMergerMethod · 0.80
submitDataPartMethod · 0.80
writeProjectionPartMethod · 0.80
fetchPartMethod · 0.80
updateTargetPartMethod · 0.80

Calls 3

reserveAndCheckMethod · 0.80
maxFunction · 0.50

Tested by

no test coverage detected