Skip to content

Commit

Permalink
fix refreshOnlyCatalogCache when use_meta_cache = false
Browse files Browse the repository at this point in the history
  • Loading branch information
suxiaogang223 committed Nov 20, 2024
1 parent 956da4c commit b8f8d0a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,7 @@ private void refreshOnlyCatalogCache(boolean invalidCache) {
if (useMetaCache.get() && metaCache != null) {
metaCache.invalidateAll();
} else if (!useMetaCache.get()) {
this.initialized = false;
for (ExternalDatabase<? extends ExternalTable> db : idToDb.values()) {
db.setUnInitialized(invalidCache);
}
Expand Down

0 comments on commit b8f8d0a

Please sign in to comment.