This is an automated email from the ASF dual-hosted git repository. jackietien pushed a commit to branch object_type_crz in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 702997c6b1c118dac4c8e6bfec33e9c65d53ea52 Author: JackieTien97 <[email protected]> AuthorDate: Thu Jul 10 16:31:12 2025 +0800 add thrift define --- .../thrift-datanode/src/main/thrift/client.thrift | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/iotdb-protocol/thrift-datanode/src/main/thrift/client.thrift b/iotdb-protocol/thrift-datanode/src/main/thrift/client.thrift index 7e9a0387722..acda4e9ea52 100644 --- a/iotdb-protocol/thrift-datanode/src/main/thrift/client.thrift +++ b/iotdb-protocol/thrift-datanode/src/main/thrift/client.thrift @@ -548,6 +548,17 @@ struct TSConnectionInfoResp { 1: required list<TSConnectionInfo> connectionInfoList } +struct TTableDeviceLeaderReq { + 1:required string dbName + 2:required list<string> deviceId + 3:required i64 time +} + +struct TTableDeviceLeaderResp { + 1:required string ip + 2:required string port +} + service IClientRPCService { TSExecuteStatementResp executeQueryStatementV2(1:TSExecuteStatementReq req); @@ -683,5 +694,7 @@ service IClientRPCService { TSConnectionInfoResp fetchAllConnectionsInfo(); /** For other node's call */ - common.TSStatus testConnectionEmptyRPC() + common.TSStatus testConnectionEmptyRPC(); + + TTableDeviceLeaderResp fetchDeviceLeader(TTableDeviceLeaderReq req); } \ No newline at end of file
