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



##########
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:
       It's ok to leave these code in this PR. I will check these logic and 
refactor them later.




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