Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
1. Start the IOTDB-Client and connect to the server successfully
2. Restart the server side
3. And then if you execute any command on the client, you will receive an error message: 'MSG: cannot get ID for statement'
This problem occurs after the [iotdb-291] merge, because a requeststmtid() method is added before executing the SQL statement, but this method is not the same as the previous executeQuery() method: when an error is returned, re-establish a connection and try again.
I will refer to the executeQuery() method of reconnection for repair. Of course, I think the best way is to have the client constantly check the connection. What do you think, friends?
Attachments
Issue Links
- links to