accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ACCUMULO-2872) Lack of synchronization when accessing lastCompactID in Tablet#setLastCompactionID()
Date Fri, 06 Jun 2014 20:55:02 GMT
Ted Yu created ACCUMULO-2872:
--------------------------------

             Summary: 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