gavinchou commented on code in PR #33321:
URL: https://github.com/apache/doris/pull/33321#discussion_r1554983548


##########
fe/fe-core/src/main/java/org/apache/doris/alter/MaterializedViewHandler.java:
##########
@@ -973,6 +979,7 @@ public void 
processDropMaterializedView(DropMaterializedViewStmt dropMaterialize
         } finally {
             olapTable.writeUnlock();
         }
+        
Env.getCurrentInternalCatalog().eraseDroppedIndexBackendReplicas(olapTable.getId(),
 deleteIndexList);

Review Comment:
   ```suggestion
           Env.getCurrentInternalCatalog().eraseDroppedIndex(olapTable.getId(), 
deleteIndexList);
   ```



##########
fe/fe-core/src/main/java/org/apache/doris/alter/MaterializedViewHandler.java:
##########
@@ -1060,6 +1067,10 @@ public void replayDropRollup(DropInfo dropInfo, Env env) 
throws MetaNotFoundExce
         } finally {
             olapTable.writeUnlock();
         }
+
+        List<Long> deleteIndexList = new ArrayList<Long>();
+        deleteIndexList.add(rollupIndexId);
+        
Env.getCurrentInternalCatalog().eraseDroppedIndexBackendReplicas(olapTable.getId(),
 deleteIndexList);

Review Comment:
   ```suggestion
           Env.getCurrentInternalCatalog().eraseDroppedIndex(olapTable.getId(), 
deleteIndexList);
   ```



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