kangkaisen opened a new pull request #2174: Fix DB meta lost bug 2
URL: https://github.com/apache/incubator-doris/pull/2174
 
 
   For https://github.com/apache/incubator-doris/pull/2167
   
   I didn't notice CHECKPOINT catalog will destroy after every saveImage.
   ```
   finally {
               // destroy checkpoint catalog, reclaim memory
               catalog = null;
               Catalog.destroyCheckpoint(); 
           }
   ```
   So the following check is meaningless, `fullNameToDb` always don't contain 
InfoSchemaDb name.
   ```
   if (!fullNameToDb.containsKey(dbName)) {
   ```
   
   So I use real Catalog instance fullNameToDb to do this check.

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


With regards,
Apache Git Services

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

Reply via email to