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/03/10 06:24:09 UTC

[GitHub] [incubator-doris] caiconghui opened a new issue #5496: The log message is wrong when ReportHandler can not find tablet meta from TabletInvertedIndex

caiconghui opened a new issue #5496:
URL: https://github.com/apache/incubator-doris/issues/5496


   ReportHandler need to delete tablet from backend when foundTabletsWithValidSchema cannot find related info, but when   ReportHandler can not find tablet meta from TabletInvertedIndex, we will see the following log message:
   
   [ReportHandler.deleteFromBackend():677] failed add to meta. tablet[19029], backend[13004]. errCode = 2, detailMessage = db[-1] does not exist
   
   It make us confused, the real reason is that tablet meta does not exist in tablet inverted index but not that db does not exist


----------------------------------------------------------------
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



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


[GitHub] [incubator-doris] qidaye commented on issue #5496: The log message is wrong when ReportHandler can not find tablet meta from TabletInvertedIndex

Posted by GitBox <gi...@apache.org>.
qidaye commented on issue #5496:
URL: https://github.com/apache/incubator-doris/issues/5496#issuecomment-796501603


   I encountered this problem too, the error message should be more clear.
   The only way to know the real reason for this is when you read the code.
   
   ```java
       TabletMeta tabletMeta = invertedIndex.getTabletMeta(tabletId);
       long dbId = tabletMeta != null ? tabletMeta.getDbId() : TabletInvertedIndex.NOT_EXIST_VALUE;
       ...
   
       Database db = Catalog.getCurrentCatalog().getDb(dbId);
       if (db == null) {
           throw new MetaNotFoundException("db[" + dbId + "] does not exist");
       }
   ```


----------------------------------------------------------------
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



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


[GitHub] [incubator-doris] caiconghui closed issue #5496: The log message is wrong when ReportHandler can not find tablet meta from TabletInvertedIndex

Posted by GitBox <gi...@apache.org>.
caiconghui closed issue #5496:
URL: https://github.com/apache/incubator-doris/issues/5496


   


----------------------------------------------------------------
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



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