You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Xiangdong Huang (Jira)" <ji...@apache.org> on 2021/01/08 06:58:00 UTC

[jira] [Created] (IOTDB-1109) New RPC interface: ask server to know some parameters, e.g., time_precision

Xiangdong Huang created IOTDB-1109:
--------------------------------------

             Summary: New RPC interface: ask server to know some parameters, e.g., time_precision
                 Key: IOTDB-1109
                 URL: https://issues.apache.org/jira/browse/IOTDB-1109
             Project: Apache IoTDB
          Issue Type: Task
            Reporter: Xiangdong Huang


A new RCP api is needed: `Map<String, String> getSettings()`

After a client connected to a server instance, the client can send a request `getSettings()` to the server, the server will send a map of parameters to the client.

Which parameters can be returned to the client is determined by the server. 

Currently, the following should be know be the client:

- time_precision

TODO list:
1. modify rpc.thrift
2. implementation the method in TSServiceImpl.java
3. add the interface in Session.java
4. (Call the method and cache the result if needed) in JDBC






--
This message was sent by Atlassian Jira
(v8.3.4#803005)