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

morningman pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-3.0 by this push:
     new 17997872b45 branch-3.0: [Fix](remote-fs)Change closed Field to 
Instance-Level to Avoid Global Shutdown Issues in RemoteFileSystem #48351 
(#48378)
17997872b45 is described below

commit 17997872b458f64bf6f3cd1f3b5e003257f1cc88
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu Feb 27 10:36:47 2025 +0800

    branch-3.0: [Fix](remote-fs)Change closed Field to Instance-Level to Avoid 
Global Shutdown Issues in RemoteFileSystem #48351 (#48378)
    
    Cherry-picked from #48351
    
    Co-authored-by: Calvin Kirs <guoqi...@selectdb.com>
---
 .../src/main/java/org/apache/doris/fs/remote/RemoteFileSystem.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/fs/remote/RemoteFileSystem.java 
b/fe/fe-core/src/main/java/org/apache/doris/fs/remote/RemoteFileSystem.java
index 08b7e1cde78..290ee37e383 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/fs/remote/RemoteFileSystem.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/fs/remote/RemoteFileSystem.java
@@ -43,7 +43,7 @@ public abstract class RemoteFileSystem extends 
PersistentFileSystem implements C
     // this field will be visited by multi-threads, better use volatile 
qualifier
     protected volatile org.apache.hadoop.fs.FileSystem dfsFileSystem = null;
     private final ReentrantLock fsLock = new ReentrantLock();
-    protected static final AtomicBoolean closed = new AtomicBoolean(false);
+    protected AtomicBoolean closed = new AtomicBoolean(false);
 
     public RemoteFileSystem(String name, StorageBackend.StorageType type) {
         super(name, type);


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

Reply via email to