You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2021/06/04 08:56:12 UTC

[GitHub] [incubator-doris] morningman commented on a change in pull request #5973: [Bug] Ignore drop table log when table has been dropped

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



##########
File path: fe/fe-core/src/main/java/org/apache/doris/catalog/Catalog.java
##########
@@ -4482,6 +4482,13 @@ public void replayDropTable(Database db, long tableId, boolean isForceDrop) {
         Table table = db.getTable(tableId);
         // delete from db meta
         db.writeLock();
+        if (table == null) {

Review comment:
       move it before db.writeLock();




-- 
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org