[CP] Optimize the DAS retry process by reducing the interval of sleep.
This commit is contained in:
@ -743,7 +743,8 @@ int ObDASTabletMapper::get_partition_id_map(ObObjectID partition_id,
|
||||
ObDASLocationRouter::ObDASLocationRouter(ObIAllocator &allocator)
|
||||
: last_errno_(OB_SUCCESS),
|
||||
cur_errno_(OB_SUCCESS),
|
||||
retry_cnt_(0),
|
||||
total_retry_cnt_(0),
|
||||
cur_retry_cnt_(0),
|
||||
all_tablet_list_(allocator),
|
||||
succ_tablet_list_(allocator),
|
||||
virtual_server_list_(allocator),
|
||||
@ -1237,7 +1238,7 @@ int ObDASLocationRouter::block_renew_tablet_location(const ObTabletID &tablet_id
|
||||
void ObDASLocationRouter::set_retry_info(const ObQueryRetryInfo* retry_info)
|
||||
{
|
||||
last_errno_ = retry_info->get_last_query_retry_err();
|
||||
retry_cnt_ = retry_info->get_retry_cnt();
|
||||
total_retry_cnt_ = retry_info->get_retry_cnt();
|
||||
}
|
||||
|
||||
int ObDASLocationRouter::get_external_table_ls_location(ObLSLocation &location)
|
||||
|
||||
Reference in New Issue
Block a user