Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.12.0
-
Phoenix 5.1
avatca 1.12
Description
When use avatica connect Phoenix QueryServer, I create an AvaticaConnection:
Connection conntion = DriverManage.getConnection(url);
connection.setAutoCommit(true);
Avatica keep PhoenixConnection alive in the Cache, which will be expired after 10min by default.
I still use the older AvaticaConnection , it will reopen an PhoenixConnection, but the ConnectionProperties is loss, such as AutoCommit.
I use sqlline-thin.py to reappear the problem:
1) sqlline-thin.py http://localhost:8765
2) upsert one row and select
3) after 10 min, upsert again, the connection will be recreate, but select null
Attachments
Attachments
Issue Links
- links to
I'm skeptical that this is an Avatica problem (however I'm prepared to be convinced).