You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "CalvinKirs (via GitHub)" <gi...@apache.org> on 2023/06/08 13:04:31 UTC

[GitHub] [doris] CalvinKirs commented on a diff in pull request #20611: [Chore](build)fix 'last_tablet_id' uninitialized

CalvinKirs commented on code in PR #20611:
URL: https://github.com/apache/doris/pull/20611#discussion_r1223013793


##########
be/src/olap/olap_server.cpp:
##########
@@ -407,7 +407,7 @@ void StorageEngine::_tablet_path_check_callback() {
     };
 
     using TabletQueue = std::priority_queue<Tablet*, std::vector<Tablet*>, TabletIdComparator>;
-    int64_t last_tablet_id;
+    int64_t last_tablet_id = -1;

Review Comment:
   Are there other assignments where -1 might occur? I am not sure.



-- 
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-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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