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/06 22:55:02 UTC

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

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)