[ 
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.

Reply via email to