You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@accumulo.apache.org by "Keith Turner (JIRA)" <ji...@apache.org> on 2012/06/08 00:34:22 UTC

[jira] [Created] (ACCUMULO-628) tablet last location deleted and set

Keith Turner created ACCUMULO-628:
-------------------------------------

             Summary: tablet last location deleted and set
                 Key: ACCUMULO-628
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-628
             Project: Accumulo
          Issue Type: Bug
          Components: tserver
    Affects Versions: 1.4.0, 1.3.5
            Reporter: Keith Turner
            Assignee: Keith Turner


While doing some experiments related to ACCUMULO-549 I was looking at mutations.  I noticed the following mutation and thought it was odd that it was deleting and setting the last location.  The delete will win because it sorts first.  Looking at the code this happens on the first compaction after tablet load when the last and current location are the same.  Need a check to make the delete conditional and only do it when last and current differ.

{noformat}
1 mutations:
  2<
      file:/default_tablet/F0000000.rf [system]:45 [] <deleted>
      file:/t-0000002/F0000005.rf [system]:45 [] <deleted>
      file:/t-0000003/F0000006.rf [system]:45 [] <deleted>
      file:/default_tablet/A0000007.rf [system]:45 [] 227,3
      srv:compact [system]:45 [] 0
      last:137c84429e10002 [system]:45 [] <deleted>
      last:137c84429e10002 [system]:45 [] 127.0.0.1:40200
      srv:lock [system]:45 [] tservers/127.0.0.1:40200/zlock-0000000000$137c84429e10002
{noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (ACCUMULO-628) tablet last location deleted and set

Posted by "Keith Turner (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ACCUMULO-628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Keith Turner resolved ACCUMULO-628.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5.0
    
> tablet last location deleted and set
> ------------------------------------
>
>                 Key: ACCUMULO-628
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-628
>             Project: Accumulo
>          Issue Type: Bug
>          Components: tserver
>    Affects Versions: 1.4.0, 1.3.5
>            Reporter: Keith Turner
>            Assignee: Keith Turner
>             Fix For: 1.5.0
>
>
> While doing some experiments related to ACCUMULO-549 I was looking at mutations.  I noticed the following mutation and thought it was odd that it was deleting and setting the last location.  The delete will win because it sorts first.  Looking at the code this happens on the first compaction after tablet load when the last and current location are the same.  Need a check to make the delete conditional and only do it when last and current differ.
> {noformat}
> 1 mutations:
>   2<
>       file:/default_tablet/F0000000.rf [system]:45 [] <deleted>
>       file:/t-0000002/F0000005.rf [system]:45 [] <deleted>
>       file:/t-0000003/F0000006.rf [system]:45 [] <deleted>
>       file:/default_tablet/A0000007.rf [system]:45 [] 227,3
>       srv:compact [system]:45 [] 0
>       last:137c84429e10002 [system]:45 [] <deleted>
>       last:137c84429e10002 [system]:45 [] 127.0.0.1:40200
>       srv:lock [system]:45 [] tservers/127.0.0.1:40200/zlock-0000000000$137c84429e10002
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira