Do not report ERROR when sample rate equals 100

This commit is contained in:
ZenoWang
2024-02-06 14:49:31 +00:00
committed by ob-robot
parent 1f1d5c08ae
commit c8ef409bf3
3710 changed files with 486984 additions and 3083329 deletions

View File

@ -78,9 +78,7 @@ int ObTabletDrop::add_drop_tablets_of_table_arg(
LOG_WARN("sys table cannot drop", K(table_schema), KR(ret));
} else if (schemas.count() > 1) {
int64_t data_table_id = OB_INVALID_ID;
if (table_schema.is_index_local_storage()
|| table_schema.is_aux_lob_table()
|| table_schema.is_mlog_table()) {
if (table_schema.is_index_local_storage() || table_schema.is_aux_lob_table()) {
data_table_id = table_schema.get_data_table_id();
} else {
data_table_id = table_schema.get_table_id();
@ -93,9 +91,7 @@ int ObTabletDrop::add_drop_tablets_of_table_arg(
} else if (is_inner_table(aux_table_schema->get_table_id())) {
ret = OB_INVALID_ARGUMENT;
LOG_WARN("sys table cannot drop", KPC(aux_table_schema), KR(ret));
} else if (!aux_table_schema->is_index_local_storage()
&& !aux_table_schema->is_aux_lob_table()
&& !aux_table_schema->is_mlog_table()) {
} else if (!aux_table_schema->is_index_local_storage() && !aux_table_schema->is_aux_lob_table()) {
ret = OB_INVALID_ARGUMENT;
LOG_WARN("aux_table_schema must be local index or aux lob table", KR(ret), K(schemas), KPC(aux_table_schema));
} else if (data_table_id != aux_table_schema->get_data_table_id()) {