Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-855

Patch to remove acquisition of redundant lock: LiveTServerSet in org.apache.accumulo.server.master

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.5.0
    • None
    • None

    Description

      A lock on the receiver is acquired twice by this method. This has two drawbacks (a) it slows performance and (b) is confusing.

      A patch is attached proposing the fix – I left the method synchronized and removed the lock acquisition in the method to match the other methods in the class.

      Attachments

        1. LiveTServerSet.java.patch
          1 kB
          Tim Halloran

        Activity

          People

            hallorant Tim Halloran
            hallorant Tim Halloran
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: