imay commented on issue #2167: Fix DB meta lost bug URL: https://github.com/apache/incubator-doris/pull/2167#issuecomment-552110884 > 1 when checkpoint, every time `loadCluster`, we will `new InfoSchemaDb`, the id for `InfoSchemaDb` will more and more larger,and finally will larger than 10000 > 2 when InfoSchemaDb id larger than 10000 and call `idToDb.put(db.getId(), db)`, the InfoSchemaDb meta will overwrite the normal db meta, (such as, the normal db id is 10001),so the normal db meta will lost when checkpoint generate the image file by `saveDb`. @kangkaisen Thanks for your detailed explanation. Could you please add this explaination to the code in order to make it clear for others?
---------------------------------------------------------------- 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