You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Evgeny Ryabitskiy (JIRA)" <ji...@apache.org> on 2009/04/30 00:22:30 UTC

[jira] Created: (HBASE-1358) Bug in reading from Memcache method (read only from snapshot)

Bug in reading from Memcache method (read only from snapshot)
-------------------------------------------------------------

                 Key: HBASE-1358
                 URL: https://issues.apache.org/jira/browse/HBASE-1358
             Project: Hadoop HBase
          Issue Type: Bug
            Reporter: Evgeny Ryabitskiy




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HBASE-1358) Bug in reading from Memcache method (read only from snapshot)

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

Evgeny Ryabitskiy updated HBASE-1358:
-------------------------------------

    Attachment: HBASE-1358.patch

there was bug where this method was always returning false

{code}
    boolean enoughVersions = false;
    for (KeyValue kv : tailset) {
      if (this.comparator.matchingRowColumn(kv, key)) {
        if (Store.doKeyValue(kv, versions, deletes, now, this.ttl, keyvalues,
            tailset)) {
          enoughVersions = true;                                                       // < ------ added change of result
          break;
        }
      } else {
        // By L.N. HBASE-684, map is sorted, so we can't find match any more.
        break;
      }
    }
    return enoughVersions;

{code}

> Bug in reading from Memcache method (read only from snapshot)
> -------------------------------------------------------------
>
>                 Key: HBASE-1358
>                 URL: https://issues.apache.org/jira/browse/HBASE-1358
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: Evgeny Ryabitskiy
>         Attachments: HBASE-1358.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (HBASE-1358) Bug in reading from Memcache method (read only from snapshot)

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

stack reassigned HBASE-1358:
----------------------------

    Assignee: Evgeny Ryabitskiy

> Bug in reading from Memcache method (read only from snapshot)
> -------------------------------------------------------------
>
>                 Key: HBASE-1358
>                 URL: https://issues.apache.org/jira/browse/HBASE-1358
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: Evgeny Ryabitskiy
>            Assignee: Evgeny Ryabitskiy
>         Attachments: HBASE-1358.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HBASE-1358) Bug in reading from Memcache method (read only from snapshot)

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

stack resolved HBASE-1358.
--------------------------

       Resolution: Fixed
    Fix Version/s: 0.20.0

Committed.  Thanks for the fix Evgeny.

> Bug in reading from Memcache method (read only from snapshot)
> -------------------------------------------------------------
>
>                 Key: HBASE-1358
>                 URL: https://issues.apache.org/jira/browse/HBASE-1358
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: Evgeny Ryabitskiy
>            Assignee: Evgeny Ryabitskiy
>             Fix For: 0.20.0
>
>         Attachments: HBASE-1358.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.