chaoyli commented on a change in pull request #3762:
URL: https://github.com/apache/incubator-doris/pull/3762#discussion_r437093426
##########
File path: be/src/olap/tablet_manager.cpp
##########
@@ -1374,16 +1482,29 @@ TabletSharedPtr
TabletManager::_get_tablet_unlocked(TTabletId tablet_id, SchemaH
VLOG(3) << "fail to get tablet. tablet_id=" << tablet_id << ",
schema_hash=" << schema_hash;
// Return nullptr tablet if fail
- TabletSharedPtr tablet;
+ BaseTabletSharedPtr tablet;
Review comment:
You can return nullptr directly.
----------------------------------------------------------------
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:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]