Uploaded image for project: 'Apache IoTDB'
  1. Apache IoTDB
  2. IOTDB-4741

deprecate sessionId in all rpc requests

    XMLWordPrintableJSON

Details

    Description

      Letting client claim its sessionId is not a good practice.

      Using and manage a ClientSession to describe each connection on the server side is more safe.

      Besides, Current timeout connection can not be closed by the server side, which may lead resource leakage if clients forget to close their connections. Therefore, we can close the socket connection to notify Thrift close the session.

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            hxd Xiangdong Huang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: