[MDS] limit mds timeout us at most 30s in every maybe hung interface

This commit is contained in:
fengdeyiji
2023-11-16 05:10:50 +00:00
committed by ob-robot
parent 58c026ace0
commit 092ba0f744
5 changed files with 210 additions and 59 deletions

View File

@ -18,6 +18,7 @@
#include "storage/tx_storage/ob_ls_service.h"
#include "storage/compaction/ob_schedule_dag_func.h"
#include "storage/multi_data_source/ob_mds_table_merge_dag_param.h"
#include "storage/tx/ob_multi_data_source.h"
namespace oceanbase
{
@ -26,6 +27,8 @@ namespace storage
namespace mds
{
TLOCAL(transaction::NotifyType, TLOCAL_MDS_TRANS_NOTIFY_TYPE) = transaction::NotifyType::UNKNOWN;
int MdsTableBase::advance_state_to(State new_state) const
{
int ret = OB_SUCCESS;