You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2014/06/07 23:23:01 UTC
[jira] [Updated] (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 ]
Ted Yu updated ACCUMULO-2872:
-----------------------------
Affects Version/s: 1.7.0
This was observed on master branch.
> 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
> Affects Versions: 1.7.0
> Reporter: Ted Yu
> Priority: Minor
>
> {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)