[FEAT MERGE] datafile auto extend
This commit is contained in:
12
deps/oblib/src/lib/restore/ob_object_device.cpp
vendored
12
deps/oblib/src/lib/restore/ob_object_device.cpp
vendored
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user