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:29:28 UTC

[GitHub] [iotdb] JackieTien97 commented on a change in pull request #5386: Add interface in ConfigIService

JackieTien97 commented on a change in pull request #5386:
URL: https://github.com/apache/iotdb/pull/5386#discussion_r839265298



##########
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:
       If you have `*` in devicePath, you will need to send your request to all the RegionInfo.




-- 
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