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

DistributedWorkQueue#waitUntilDone() shouldn't synchronize on String object

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.0
    • Fix Version/s: 1.5.1, 1.6.0
    • Component/s: None
    • Labels:
      None

      Description

      Synchronization is done on condVar, a String.
      This is not good practice.

      See http://stackoverflow.com/questions/133988/problem-with-synchronizing-on-string-objects

        Attachments

          Activity

            People

            • Assignee:
              ecn Eric Newton
              Reporter:
              yuzhihong@gmail.com Ted Yu
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: