accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-2872) Lack of synchronization when accessing lastCompactID in Tablet#setLastCompactionID()
Date Sat, 07 Jun 2014 17:27:01 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-2872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14020887#comment-14020887
] 

Christopher Tubbs commented on ACCUMULO-2872:
---------------------------------------------

This issue needs an affectedVersion.

> 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
>            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)

Mime
View raw message