You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Eric Newton (JIRA)" <ji...@apache.org> on 2014/02/19 19:54:24 UTC

[jira] [Resolved] (ACCUMULO-2324) DistributedWorkQueue#waitUntilDone() shouldn't synchronize on String object

     [ https://issues.apache.org/jira/browse/ACCUMULO-2324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Newton resolved ACCUMULO-2324.
-----------------------------------

    Resolution: Fixed

> DistributedWorkQueue#waitUntilDone() shouldn't synchronize on String object
> ---------------------------------------------------------------------------
>
>                 Key: ACCUMULO-2324
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2324
>             Project: Accumulo
>          Issue Type: Bug
>    Affects Versions: 1.5.0
>            Reporter: Ted Yu
>            Assignee: Eric Newton
>             Fix For: 1.6.0, 1.5.2
>
>
> Synchronization is done on condVar, a String.
> This is not good practice.
> See http://stackoverflow.com/questions/133988/problem-with-synchronizing-on-string-objects



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)