morningman commented on a change in pull request #6321: URL: https://github.com/apache/incubator-doris/pull/6321#discussion_r682721631
########## File path: be/src/agent/task_worker_pool.cpp ########## @@ -1185,9 +1185,15 @@ void TaskWorkerPool::_report_tablet_worker_thread_callback() { _is_doing_work = true; request.tablets.clear(); + uint64_t report_version = _s_report_version; OLAPStatus build_all_report_tablets_info_status = StorageEngine::instance()->tablet_manager()->build_all_report_tablets_info( &request.tablets); + if (report_version < _s_report_version) { Review comment: Add a TODO here to notice that this can only reduce the possibility or report error, but can't avoid it. -- 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. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org