Skip to content

Commit

Permalink
[Enhance](multi-catalog) Use MetaIdMappingsLog to replace InitCatalog…
Browse files Browse the repository at this point in the history
…Log/InitDatabaseLog.
  • Loading branch information
wangxiangyu committed Mar 4, 2024
1 parent 504e0ae commit 91ac80c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,9 @@ public void replayRefreshExternalDb(ExternalObjectLog log) {
try {
ExternalCatalog catalog = (ExternalCatalog) idToCatalog.get(log.getCatalogId());
ExternalDatabase db = catalog.getDbForReplay(log.getDbId());
db.setUnInitialized(log.isInvalidCache());
if (db != null) {
db.setUnInitialized(log.isInvalidCache());
}
} finally {
writeUnlock();
}
Expand Down

0 comments on commit 91ac80c

Please sign in to comment.