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/07/24 22:00:38 UTC

[jira] [Assigned] (ACCUMULO-2872) Lack of synchronization when accessing lastCompactID in Tablet#setLastCompactionID()

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

Eric Newton reassigned ACCUMULO-2872:
-------------------------------------

    Assignee: Eric Newton

> Lack of synchronization when accessing lastCompactID in Tablet#setLastCompactionID()
> ------------------------------------------------------------------------------------
>
>                 Key: ACCUMULO-2872
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2872
>             Project: Accumulo
>          Issue Type: Bug
>          Components: tserver
>            Reporter: Ted Yu
>            Assignee: Eric Newton
>            Priority: Minor
>             Fix For: 1.7.0
>
>
> {code}
>   public void setLastCompactionID(Long compactionId) {
>     if (compactionId != null)
>       this.lastCompactID = compactionId;
>   }
> {code}
> Lock on Tablet.this should be held when assigning lastCompactID.



--
This message was sent by Atlassian JIRA
(v6.2#6252)