liutang123 opened a new issue #5992: URL: https://github.com/apache/incubator-doris/issues/5992
**Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Drop same table concurrently. **Expected behavior** Table should be droped and no exception. But, now follower will throw NPE when replay drop table journal. **Screenshots**  Follower's LOG: ```2021-06-08 09:06:46,547 INFO (replayer|83) [Catalog.replayJournal():2544] replayed journal id is 1361204889, replay to journal id is 1361204890 2021-06-08 09:06:46,547 INFO (replayer|83) [EditLog.loadJournal():197] Begin to unprotect drop table. db = default_cluster:grocery_doris table = 316815448 2021-06-08 09:06:46,547 INFO (replayer|83) [CatalogRecycleBin.eraseTableWithSameName():279] erase table[316814850] name: app_rt_sc_atnd_rdc_poi_emp_base_hour_date _temp 2021-06-08 09:06:46,547 INFO (replayer|83) [CatalogRecycleBin.recycleTable():106] recycle table[316815448-app_rt_sc_atnd_rdc_poi_emp_base_hour_date_temp] 2021-06-08 09:06:46,550 INFO (replayer|83) [Catalog.replayJournal():2544] replayed journal id is 1361204890, replay to journal id is 1361204891 2021-06-08 09:06:46,550 INFO (replayer|83) [EditLog.loadJournal():197] Begin to unprotect drop table. db = default_cluster:grocery_doris table = 316815448 2021-06-08 09:06:46,550 ERROR (replayer|83) [EditLog.loadJournal():816] Operation Type 11 java.lang.NullPointerException: null at org.apache.doris.catalog.Catalog.replayDropTable(Catalog.java:4542) ~[palo-fe.jar:3.4.0] at org.apache.doris.persist.EditLog.loadJournal(EditLog.java:199) [palo-fe.jar:3.4.0] at org.apache.doris.catalog.Catalog.replayJournal(Catalog.java:2559) [palo-fe.jar:3.4.0] at org.apache.doris.catalog.Catalog$3.runOneCycle(Catalog.java:2343) [palo-fe.jar:3.4.0] at org.apache.doris.common.util.Daemon.run(Daemon.java:116) [palo-fe.jar:3.4.0]``` -- 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]
