Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-1982

Refactor (touch|add)Session in SessionTrackerImpl.java

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      This JIRA extends the idea of ZOOKEEPER-1978.

      Besides refactoring get-put operations of concurrentMap in addSession method, addSession also calls touchSession which repeatedly checks if session existed. So it would be nice for refactor. Refactoring the second issue is relevant to ZOOKEEPER-1978. So I create a this JIRA to fix both.

        Attachments

        1. ZOOKEEPER-1982.patch
          3 kB
          Hongchao Deng
        2. ZOOKEEPER-1982.patch
          4 kB
          Hongchao Deng
        3. ZOOKEEPER-1982.patch
          4 kB
          Hongchao Deng

          Issue Links

            Activity

              People

              • Assignee:
                hdeng Hongchao Deng
                Reporter:
                hdeng Hongchao Deng
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: