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 2021/07/29 08:44:38 UTC

[GitHub] [incubator-doris] ccoffline commented on issue #6155: [Bug] NPE when replaying CheckConsistencyJob

ccoffline commented on issue #6155:
URL: https://github.com/apache/incubator-doris/issues/6155#issuecomment-888927182


   > It may happen. In currently implements, the table level read/write lock will cause this problem. You can see #6136.
   > You can simple check if table is null and return in `replayFinishConsistencyCheck()`
   
   After a lot of discussions, we consider that change the return value of `db.getTable(id/name)` to `Optional` will be a good design to avoid all the possible replay crash when meet the dropped table.


-- 
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: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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