You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2020/03/27 06:27:04 UTC

[GitHub] [incubator-doris] chaoyli commented on a change in pull request #3211: use SleepFor() instead of usleep()

chaoyli commented on a change in pull request #3211: use SleepFor() instead of usleep()
URL: https://github.com/apache/incubator-doris/pull/3211#discussion_r399057425
 
 

 ##########
 File path: be/src/agent/task_worker_pool.cpp
 ##########
 @@ -1016,20 +1005,17 @@ void* TaskWorkerPool::_check_consistency_worker_thread_callback(void* arg_this)
         TStatus task_status;
 
         uint32_t checksum = 0;
-        EngineChecksumTask engine_task(check_consistency_req.tablet_id,
-                check_consistency_req.schema_hash,
-                check_consistency_req.version,
-                check_consistency_req.version_hash,
-                &checksum);
+        EngineChecksumTask engine_task(
+                check_consistency_req.tablet_id, check_consistency_req.schema_hash,
+                check_consistency_req.version, check_consistency_req.version_hash, &checksum);
         OLAPStatus res = worker_pool_this->_env->storage_engine()->execute_task(&engine_task);
         if (res != OLAP_SUCCESS) {
-            OLAP_LOG_WARNING("check consistency failed. status: %d, signature: %ld",
-                             res, agent_task_req.signature);
+            OLAP_LOG_WARNING("check consistency failed. status: %d, signature: %ld", res,
 
 Review comment:
   use LOG(WARNING) instead

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org