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

@ -251,7 +251,7 @@ int ObSimpleServer::init_sql_proxy2(const char *tenant_name, const char *db_name
param.long_query_timeout_ = 300*1000*1000; // 120s
param.connection_refresh_interval_ = 200*1000; // 200ms
param.connection_pool_warn_time_ = 10*1000*1000; // 1s
param.sqlclient_per_observer_conn_limit_ = 10000;
param.sqlclient_per_observer_conn_limit_ = 1000;
ret = sql_conn_pool2_.init(db_addr, param);
if (OB_SUCC(ret)) {
sql_conn_pool2_.set_mode(common::sqlclient::ObMySQLConnection::DEBUG_MODE);
@ -404,10 +404,10 @@ int ObSimpleServer::simple_close()
SERVER_LOG(INFO, "safe quit need remove ls", K(MTL_ID()), K(ls_ids));
for (int i = 0; i < ls_ids.count(); i++) {
if (ls_ids.at(i).id() > share::ObLSID::SYS_LS_ID) {
MTL(ObLSService*)->remove_ls(ls_ids.at(i));
MTL(ObLSService*)->remove_ls(ls_ids.at(i), false);
}
}
MTL(ObLSService*)->remove_ls(share::ObLSID{share::ObLSID::SYS_LS_ID});
MTL(ObLSService*)->remove_ls(share::ObLSID{share::ObLSID::SYS_LS_ID}, false);
}
};