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/03/31 07:15:34 UTC
[GitHub] [iotdb] MarcosZyk commented on a change in pull request #5386: Add interface in ConfigIService
MarcosZyk commented on a change in pull request #5386:
URL: https://github.com/apache/iotdb/pull/5386#discussion_r839257895
##########
File path: thrift-confignode/src/main/thrift/confignode.thrift
##########
@@ -76,6 +76,40 @@ struct DeviceGroupHashInfo {
2: required string hashClass
}
+struct FetchDataPartitionReq {
+ 1: required map<string, list<i64>> devicePathsToStartTimeMap
+}
+
+struct FetchSchemaPartitionReq {
+ 1: required list<string> devicePaths
+}
+
+struct FetchPartitionReq {
+ 1: required map<string, list<i64>> devicePathsToStartTimeMap
+}
+
+struct RegionInfo {
+ 1: required i32 regionId
+ 2: required list<rpc.EndPoint> endPointList
+}
+
+struct DataPartitionInfoResp {
+ // Map<StorageGroup, Map<DeviceGroupID, Map<TimePartitionId, List<DataRegionReplicaInfo>>>>
+ 1: required map<string, map<i32, map<i64, list<RegionInfo>>>> dataPartitionMap
+}
+
+struct SchemaPartitionInfoResp {
+ // Map<StorageGroup, Map<DeviceGroupID, SchemaRegionPlaceInfo>>
+ 1: required map<string, map<i32, RegionInfo>> schemaPartitionInfo
+}
Review comment:
The deviceId of i32 can't support wildcard match of ParthPattern. Maybe should replace it with the raw devicePath
--
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