From 033a2c0813bd21ed85f78cffa9913114e5cc551e Mon Sep 17 00:00:00 2001 From: Yong Date: Tue, 17 Dec 2024 20:31:45 -0600 Subject: [PATCH] Fix 560 --- .../core/persistence/LocalPolarisMetaStoreManagerFactory.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/polaris-core/src/main/java/org/apache/polaris/core/persistence/LocalPolarisMetaStoreManagerFactory.java b/polaris-core/src/main/java/org/apache/polaris/core/persistence/LocalPolarisMetaStoreManagerFactory.java index 25bea896f..1e2ca3006 100644 --- a/polaris-core/src/main/java/org/apache/polaris/core/persistence/LocalPolarisMetaStoreManagerFactory.java +++ b/polaris-core/src/main/java/org/apache/polaris/core/persistence/LocalPolarisMetaStoreManagerFactory.java @@ -138,6 +138,9 @@ public synchronized Supplier getOrCreateSessionSupplier initializeForRealm(realmContext); checkPolarisServiceBootstrappedForRealm( realmContext, metaStoreManagerMap.get(realmContext.getRealmIdentifier())); + } else { + checkPolarisServiceBootstrappedForRealm( + realmContext, metaStoreManagerMap.get(realmContext.getRealmIdentifier())); } return sessionSupplierMap.get(realmContext.getRealmIdentifier()); }