hqx871 commented on code in PR #64167:
URL: https://github.com/apache/doris/pull/64167#discussion_r3535060652


##########
fe/fe-core/src/main/java/org/apache/doris/catalog/LocalTabletInvertedIndex.java:
##########
@@ -989,6 +989,9 @@ public Map<TStorageMedium, TreeMultimap<Long, 
PartitionBalanceInfo>> buildPartit
                     Preconditions.checkState(
                             
!Env.getCurrentColocateIndex().isColocateTable(tabletMeta.getTableId()),
                             "table " + tabletMeta.getTableId() + " should not 
be the colocate table");
+                    if 
(Env.getCurrentTenantLevelColocateIndex().isColocateTable(tabletMeta.getTableId()))
 {

Review Comment:
   I have no idea of why the ColocateIndex throw exception other than skip and 
continue when it is colocate table. But skipping should be ok



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

Reply via email to