gj-zhang opened a new issue #8521:
URL: https://github.com/apache/incubator-doris/issues/8521


   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### Version
   
   0.15.0  trunk-a1d1bd8
   
   1 follower, 1 observer, 4 be
   
   ### What's Wrong?
   
   2022-03-18 01:59:44,241 INFO (stateListener|84) 
[CatalogRecycleBin.recycleDatabase():87] recycle 
db[7634765-default_cluster:test]
   2022-03-18 01:59:44,242 INFO (stateListener|84) [EditLog.loadJournal():184] 
Begin to unprotect create table. db = default_cluster:test table = 7877092
   2022-03-18 01:59:44,243 ERROR (stateListener|84) [EditLog.loadJournal():890] 
Operation Type 10
   java.lang.NullPointerException: null
           at 
org.apache.doris.catalog.Catalog.replayCreateTable(Catalog.java:4432) 
~[palo-fe.jar:3.4.0]
           at org.apache.doris.persist.EditLog.loadJournal(EditLog.java:186) 
[palo-fe.jar:3.4.0]
           at org.apache.doris.catalog.Catalog.replayJournal(Catalog.java:2511) 
[palo-fe.jar:3.4.0]
           at 
org.apache.doris.catalog.Catalog.transferToMaster(Catalog.java:1221) 
[palo-fe.jar:3.4.0]
           at org.apache.doris.catalog.Catalog.access$1200(Catalog.java:295) 
[palo-fe.jar:3.4.0]
           at org.apache.doris.catalog.Catalog$4.runOneCycle(Catalog.java:2428) 
[palo-fe.jar:3.4.0]
           at org.apache.doris.common.util.Daemon.run(Daemon.java:116) 
[palo-fe.jar:3.4.0]
   
   ### What You Expected?
   
   restart succesful
   
   ### How to Reproduce?
   
   the test database has 15000 tables. 
   
   step 1:
   drop database test;
   
   stop 2:
   create database test;
   
   the follower and observer shutdown
   
   ### Anything Else?
   
   shutdown log.
   ```shell
   2022-03-18 01:20:19,724 INFO (replayer|67) 
[CatalogRecycleBin.recycleTable():104] recycle table[7683979-t_D49642]
   2022-03-18 01:20:19,724 INFO (replayer|67) 
[Catalog.unprotectDropTable():4574] finished dropping table[t_D49642] in 
db[default_cluster:test]
   2022-03-18 01:20:19,724 INFO (replayer|67) 
[CatalogRecycleBin.recycleDatabase():87] recycle 
db[7634765-default_cluster:test]
   2022-03-18 01:20:19,726 INFO (replayer|67) [Catalog.replayJournal():2494] 
replayed journal id is 3508155, replay to journal id is 3508158
   2022-03-18 01:20:19,726 INFO (replayer|67) [EditLog.loadJournal():184] Begin 
to unprotect create table. db = default_cluster:test table = 7877092
   2022-03-18 01:20:19,726 ERROR (replayer|67) [EditLog.loadJournal():890] 
Operation Type 10
   java.lang.NullPointerException: null
           at 
org.apache.doris.catalog.Catalog.replayCreateTable(Catalog.java:4377) 
~[palo-fe.jar:3.4.0]
           at org.apache.doris.persist.EditLog.loadJournal(EditLog.java:186) 
[palo-fe.jar:3.4.0]
           at org.apache.doris.catalog.Catalog.replayJournal(Catalog.java:2509) 
[palo-fe.jar:3.4.0]
           at org.apache.doris.catalog.Catalog$3.runOneCycle(Catalog.java:2293) 
[palo-fe.jar:3.4.0]
           at org.apache.doris.common.util.Daemon.run(Daemon.java:116) 
[palo-fe.jar:3.4.0]
   2022-03-18 01:20:20,630 INFO (SpringContextShutdownHook|83) 
[ExecutorConfigurationSupport.shutdown():218] Shutting down ExecutorService 
'applicationTaskExecutor'
   ```
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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: [email protected]

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