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

[Distributed] optimize thread pool close

    XMLWordPrintableJSON

Details

    Description

      Currently, the thread pool is used to manage inter-cluster communication access. The connection is obtained from the connection pool. After the connection is used, the connection is returned to the connection pool. After the connection is used, the interface must be called to put the connection back to the connection pool. This requires that the connection must be closed in finally.
      Therefore, the connection usage is optimized here. Use try() to obtain the closed connection(push to thread pool).

      Attachments

        Issue Links

          Activity

            People

              wangchao316 Chao Wang
              wangchao316 Chao Wang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: