This is an automated email from the ASF dual-hosted git repository.

xuba pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/amoro.git


The following commit(s) were added to refs/heads/master by this push:
     new ac5cf1f70 [AMORO-3804] Skip RUNTIME_CONTEXT_CACHE for TableMetaStore 
with local configuration (#4005)
ac5cf1f70 is described below

commit ac5cf1f70387e8b8f044def325b415de3abb8561
Author: Fei Wang <[email protected]>
AuthorDate: Tue Dec 16 21:28:28 2025 -0800

    [AMORO-3804] Skip RUNTIME_CONTEXT_CACHE for TableMetaStore with local 
configuration (#4005)
    
    * [AMORO-3804] Skip RUNTIME_CONTEXT_CACHE for TableMetaStore with local 
configuration
    
    * return
    
    * test
    
    * configuration
    
    * create runtime context directly
    
    * remove unneeded tests
---
 amoro-common/src/main/java/org/apache/amoro/table/TableMetaStore.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/amoro-common/src/main/java/org/apache/amoro/table/TableMetaStore.java 
b/amoro-common/src/main/java/org/apache/amoro/table/TableMetaStore.java
index 1bd0c56bb..08b6f7bd9 100644
--- a/amoro-common/src/main/java/org/apache/amoro/table/TableMetaStore.java
+++ b/amoro-common/src/main/java/org/apache/amoro/table/TableMetaStore.java
@@ -179,7 +179,8 @@ public class TableMetaStore implements Serializable {
     this.krbPrincipal = null;
     this.accessKey = null;
     this.secretKey = null;
-    getRuntimeContext().setConfiguration(configuration);
+    this.runtimeContext = new RuntimeContext();
+    runtimeContext.setConfiguration(configuration);
   }
 
   public byte[] getMetaStoreSite() {

Reply via email to