[FEAT MERGE] datafile auto extend

This commit is contained in:
obdev
2023-04-26 15:45:40 +00:00
committed by ob-robot
parent d525c7da3f
commit 2293904cc0
24 changed files with 350 additions and 34 deletions

View File

@ -794,6 +794,12 @@ int64_t ObObjectDevice::get_total_block_size() const
return -1;
}
int64_t ObObjectDevice::get_max_block_size(int64_t reserved_size) const
{
OB_LOG_RET(WARN, OB_NOT_SUPPORTED, "get_max_block_size is not support in object device !", K(device_type_));
return -1;
}
int64_t ObObjectDevice::get_free_block_count() const
{
OB_LOG_RET(WARN, OB_NOT_SUPPORTED, "get_free_block_count is not support in object device !", K(device_type_));
@ -806,6 +812,12 @@ int64_t ObObjectDevice::get_reserved_block_count() const
return -1;
}
int64_t ObObjectDevice::get_max_block_count(int64_t reserved_size) const
{
OB_LOG_RET(WARN, OB_NOT_SUPPORTED, "get_max_block_count is not support in object device !", K(device_type_));
return -1;
}
int ObObjectDevice::check_space_full(const int64_t required_size) const
{
UNUSED(required_size);