You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2019/11/09 11:25:37 UTC

[GitHub] [incubator-doris] kangkaisen commented on issue #2167: Fix DB meta lost bug

kangkaisen commented on issue #2167: Fix DB meta lost bug
URL: https://github.com/apache/incubator-doris/pull/2167#issuecomment-552091016
 
 
   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`.

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


With regards,
Apache Git Services

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