Details

    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

      link title

      Attachments

        Activity

          Transition Time In Source Status Execution Times
          Stamatis Zampetakis made transition -
          Open Closed
          48d 14h 24m 1
          Stamatis Zampetakis made transition -
          Closed Reopened
          31s 1
          Stamatis Zampetakis made transition -
          Reopened Resolved
          7s 1
          Francis Chuang made transition -
          Resolved Closed
          11d 6h 6m 1

          People

            Unassigned Unassigned
            shining shining
            Votes:
            0 Vote for this issue
            Watchers:
            Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h 50m
                2h 50m

                Slack

                  Issue deployment