kaijchen commented on code in PR #35287:
URL: https://github.com/apache/doris/pull/35287#discussion_r1614602442


##########
be/src/vec/sink/writer/vtablet_writer_v2.cpp:
##########
@@ -311,6 +311,10 @@ Status VTabletWriterV2::_build_tablet_node_mapping() {
                     tablet.set_index_id(index.index_id);
                     tablet.set_tablet_id(tablet_id);
                     _tablets_for_node[node].emplace(tablet_id, tablet);
+                    if (tablet_id == 0) [[unlikely]] {

Review Comment:
   ```suggestion
                       constexpr int64_t DUMMY_TABLET_ID = 0;
                       if (tablet_id == DUMMY_TABLET_ID) [[unlikely]] {
   ```



-- 
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

Reply via email to