luwei16 commented on code in PR #31491:
URL: https://github.com/apache/doris/pull/31491#discussion_r1504190028


##########
fe/fe-core/src/main/java/org/apache/doris/service/FrontendServiceImpl.java:
##########
@@ -3397,7 +3398,11 @@ public TCreatePartitionResult 
createPartition(TCreatePartitionRequest request) t
                     // BE id -> path hash
                     Multimap<Long, Long> bePathsMap;
                     try {
-                        bePathsMap = tablet.getNormalReplicaBackendPathMap();
+                        if (tablet instanceof CloudTablet) {

Review Comment:
   replace 'tablet instanceof CloudTablet' with 'config.isCloudMode() '?



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