caiconghui edited a comment on pull request #6650: URL: https://github.com/apache/incubator-doris/pull/6650#issuecomment-926561555
1. If the table or db has been dropped,we will get write lock failed or just skip or throw exception, 2. and if we recover table or db, we must ensure that unmark dropped state after writing recover journal. 3. db.dropTable corresponds to db.createTable, I don't move table.markDropped method to the db.dropTable, for that all meta added to db or catalog must after writing recover journal, so we must invoke markDropped and unmarkDropped method outside the dropTable and createTable method. -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org