jixuan1989 opened a new pull request #830: [IOTDB-506]upgrade the protocol to 
v2 to reject clients or servers that version < 0.10
URL: https://github.com/apache/incubator-iotdb/pull/830
 
 
   - If users use client/jdbc/session that version <0.10 to connect IoTDB 
server 0.10, unfriendly exception will be thrown.
   - If users use client/jdbc/session that version = 0.10 to connect IoTDB 
server that version <0.10, unfriendly exception will also be thrown.
   
   So, I upgrade the protocol to V2 while it is V1 in 0.9 and no such field in 
0.8.
   Then, 
   if we use client 0.9 to connect IoTDB 0.10, 
   
   ```
   IoTDB> Can not establish connection with jdbc:iotdb://127.0.0.1:6667/. Host 
is 127.0.0.1, port is 6667.
   ```
   (we have no method to change the output of 0.9 client unless we release a 
new version of 0.9.*).
   
   if we use client 0.10 to connect IoTDB 0.9, 
   ```
   IoTDB> Can not establish connection with jdbc:iotdb://127.0.0.1:6667/ : You 
may try to connect an old version IoTDB instance using a client with new 
version: Required field 'client_protocol' was not present! Struct: 
TSOpenSessionReq(client_protocol:null, username:root, password:root).  Host is 
127.0.0.1, port is 6667.
   ```
   
   
   
   
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to