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

AuditTagsHandler should not create a new zk connection for each thread

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.5.0
    • Fix Version/s: 4.0.0
    • Component/s: Metadata
    • Labels:
      None
    • Release Notes:
      Fixed an issue where Tracker was creating too many connections to Zookeeper.
    • Rank:
      1|hzzlpj:

      Description

      AuditTagsHandler creates a new ZKClient and ZKDiscoveryService per handler thread. This can lead to many zk connections and watches per handler instance.
      We should be able to share one ZK connection across all threads.

        Attachments

          Activity

            People

            • Assignee:
              ali.anwar Ali Anwar
              Reporter:
              ali.anwar Ali Anwar
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: