Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-4067

Socket connection to TX service is not closing properly

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.2.1, 3.2.0, 3.1.2, 3.0.5, 3.0.4, 3.1.1, 3.1.0, 2.8.2, 3.0.3, 2.8.1, 3.0.2, 3.0.1, 3.0.0, 2.8.0
    • Fix Version/s: 3.3.0, 3.2.2, 3.0.6, 2.8.3
    • Component/s: None
    • Labels:
    • Release Notes:
      Fixed an issue where socket connections to the TransactionManager were not being closed.
    • Rank:
      1|hzz24f:

      Description

      Currently we are using ThreadPoolClientProvider for creating connection to TX service, which caches the client (hence the connection) in a ThreadLocal. However, threads can be come and go without notice, causing a leakage of file descriptors.

      This needs to be fixed for:
      2.8.3 - Merged https://github.com/caskdata/cdap/pull/4513
      3.0.6 - Merged https://github.com/caskdata/cdap/pull/4469
      3.1.3 - Merged https://github.com/caskdata/cdap/pull/4516
      3.2.2 - Merged https://github.com/caskdata/cdap/pull/4515
      3.3.0 - Merged https://github.com/caskdata/cdap/pull/4514

        Attachments

          Activity

            People

            • Assignee:
              ali.anwar Ali Anwar
              Reporter:
              terence Terence Yim
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: