CRZbulabula commented on code in PR #7287:
URL: https://github.com/apache/iotdb/pull/7287#discussion_r969124775
##########
confignode/src/main/java/org/apache/iotdb/confignode/persistence/partition/PartitionInfo.java:
##########
@@ -441,7 +442,7 @@ public DataSet
getSchemaNodeManagementPartition(List<String> matchedStorageGroup
/** Get region information */
public DataSet getRegionInfoList(GetRegionInfoListPlan regionsInfoPlan) {
RegionInfoListResp regionResp = new RegionInfoListResp();
- List<TRegionInfo> regionInfoList = new ArrayList<>();
+ List<TRegionInfo> regionInfoList = new Vector<>();
Review Comment:
Vector supports concurrency safety while ArrayList doesn't
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]