uchenily commented on code in PR #61240:
URL: https://github.com/apache/doris/pull/61240#discussion_r2922728353
##########
be/src/agent/task_worker_pool.cpp:
##########
@@ -1786,25 +1785,37 @@ void create_tablet_callback(StorageEngine& engine,
const TAgentTaskRequest& req)
increase_report_version();
// get path hash of the created tablet
TabletSharedPtr tablet;
+ std::string error_msg;
{
SCOPED_TIMER(ADD_TIMER(profile, "GetTablet"));
- tablet =
engine.tablet_manager()->get_tablet(create_tablet_req.tablet_id);
+ tablet =
engine.tablet_manager()->get_tablet(create_tablet_req.tablet_id, false,
+ &error_msg);
+ }
+
+ if (tablet) {
Review Comment:
The reason is not very clear, and the specific reason can only be further
located after adding the log. The most likely reason is the nullptr caused by
IO_ERROR (DataDir::check_health).
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]