This is an automated email from the ASF dual-hosted git repository.
morrysnow pushed a commit to branch branch-3.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.1 by this push:
new eb22b537635 branch-3.1: [fix](temp_table) alive session id set should
be thread safe #55315 (#55338)
eb22b537635 is described below
commit eb22b537635ae56585438f91f8c5d5a4ad038586
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu Aug 28 09:43:51 2025 +0800
branch-3.1: [fix](temp_table) alive session id set should be thread safe
#55315 (#55338)
Cherry-picked from #55315
Co-authored-by: morrySnow <[email protected]>
---
fe/fe-core/src/main/java/org/apache/doris/catalog/Env.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/fe/fe-core/src/main/java/org/apache/doris/catalog/Env.java
b/fe/fe-core/src/main/java/org/apache/doris/catalog/Env.java
index d2a08ddb657..fc951dab7b9 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/catalog/Env.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/catalog/Env.java
@@ -313,6 +313,7 @@ import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import com.google.common.collect.Multimap;
import com.google.common.collect.Queues;
+import com.google.common.collect.Sets;
import com.sleepycat.je.rep.InsufficientLogException;
import com.sleepycat.je.rep.NetworkRestore;
import com.sleepycat.je.rep.NetworkRestoreConfig;
@@ -755,7 +756,7 @@ public class Env {
this.heartbeatMgr = new HeartbeatMgr(systemInfo, !isCheckpointCatalog);
this.feSessionMgr = new FESessionMgr();
this.temporaryTableMgr = new TemporaryTableMgr();
- this.aliveSessionSet = new HashSet<>();
+ this.aliveSessionSet = Sets.newConcurrentHashSet();
this.tabletInvertedIndex = new TabletInvertedIndex();
this.colocateTableIndex = new ColocateTableIndex();
this.recycleBin = new CatalogRecycleBin();
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]