accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Newton (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (ACCUMULO-2872) Lack of synchronization when accessing lastCompactID in Tablet#setLastCompactionID()
Date Thu, 24 Jul 2014 20:12:39 GMT

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

Eric Newton resolved ACCUMULO-2872.
-----------------------------------

    Resolution: Fixed

> 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
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> {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)

Mime
View raw message