CRZbulabula opened a new pull request, #15907: URL: https://github.com/apache/iotdb/pull/15907
In this PR, we create a new session interface `fetchDeviceLeader`. The user can get the device leader's DataNode client RPC location through inputing `databaseName, deviceName, time`. This interface is self-tested, we left the test codes in TableModelSessionPoolExample. You can find following results after executing the test codes: Correct device leader URL: 0.0.0.0:6667 Error dbName device leader URL: : Error deviceId device leader URL: : Error time device leader URL: : -- 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]
