Fix bug 39784090: Its no effect when decrease the datafile_size

This commit is contained in:
LINxiansheng
2022-03-15 12:02:56 +08:00
committed by LINxiansheng
parent a4d3ae7db7
commit 3427f970aa
4 changed files with 35 additions and 0 deletions

View File

@ -2299,6 +2299,12 @@ int ObSetConfigResolver::check_param_valid(int64_t tenant_id, const ObString& na
}
#endif
}
else if (0 == name.case_compare("datafile_size")) {
if(OB_FAIL(OB_STORE_FILE.validate_datafile_size(value.ptr()))){
ret = OB_INVALID_CONFIG;
LOG_WARN("datafile_size is not valid", K(ret));
}
}
}
return ret;
}