caiconghui commented on a change in pull request #5329:
URL: https://github.com/apache/incubator-doris/pull/5329#discussion_r569477037



##########
File path: fe/fe-core/src/main/java/org/apache/doris/catalog/Catalog.java
##########
@@ -6811,5 +6820,67 @@ private void setReplicaStatusInternal(long tabletId, 
long backendId, ReplicaStat
             table.writeUnlock();
         }
     }
+
+    public void eraseDatabase(long dbId, boolean needEditLog) {
+        // remove jobs
+        Catalog.getCurrentCatalog().getLoadInstance().removeDbLoadJob(dbId);

Review comment:
       we need to remove these info from map? I don't find any other way to 
remove these infos.




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

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