增加定时器,解决Pull元信息无响应时陷入停顿状态(valgrind)
This commit is contained in:
@@ -59,7 +59,7 @@ static int32_t check_producer_ready_sync(struct doris_business *business, struct
|
||||
/*request from sync client, check http posts-on-the-way first*/
|
||||
if(business->posts_on_the_way)
|
||||
{
|
||||
MESA_RUNTIME_LOGV3(g_doris_server_info.log_runtime, RLOG_LV_DEBUG, "HttpProducer, posts-on-the-way: %d, meta response 300", business->posts_on_the_way);
|
||||
MESA_RUNTIME_LOGV3(g_doris_server_info.log_runtime, RLOG_LV_DEBUG, "HttpProducer, business: %s, posts-on-the-way: %d, meta response 300", business->bizname, business->posts_on_the_way);
|
||||
return 300;
|
||||
}
|
||||
|
||||
@@ -68,7 +68,7 @@ static int32_t check_producer_ready_sync(struct doris_business *business, struct
|
||||
if((clientversion=atol(client_version)) > cur_version)
|
||||
{
|
||||
business_set_sync_peer_abnormal(business);
|
||||
MESA_RUNTIME_LOGV3(g_doris_server_info.log_runtime, RLOG_LV_INFO, "HttpProducer, client version(%lu) is newer than server(%lu)", clientversion, cur_version);
|
||||
MESA_RUNTIME_LOGV3(g_doris_server_info.log_runtime, RLOG_LV_INFO, "HttpProducer, business: %s, client version(%lu) is newer than server(%lu)", business->bizname, clientversion, cur_version);
|
||||
return 300;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user