You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2022/09/13 03:54:33 UTC
[GitHub] [iotdb] CRZbulabula commented on a diff in pull request #7287: [IOTDB-4377] Fix TTimePartitionSlot count and DataPartition inherit policy bug
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: reviews-unsubscribe@iotdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org