fix[inner-1455]: 'ConcurrentModificationException' occurred while loading metadata (#2953)

This commit is contained in:
wenyh
2021-11-11 16:51:29 +08:00
committed by GitHub
parent ea5323ec2f
commit 3ffd7e05af

View File

@@ -18,6 +18,7 @@ import com.actiontech.dble.sqlengine.MultiTablesMetaJob;
import com.actiontech.dble.sqlengine.SQLQueryResult;
import com.actiontech.dble.sqlengine.SQLQueryResultListener;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
@@ -74,7 +75,7 @@ public abstract class GetTableMetaHandler {
TableStructureListener(String shardingNode, Set<String> expectedTables, PhysicalDbInstance ds) {
this.shardingNode = shardingNode;
this.expectedTables = expectedTables;
this.expectedTables = new HashSet<>(expectedTables);
this.ds = ds;
}