[ 
https://issues.apache.org/jira/browse/HBASE-5997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13278140#comment-13278140
 ] 

Anoop Sam John commented on HBASE-5997:
---------------------------------------

Sorry could not complete the typing and by mistake pressed submit :(
Continuation of the above comment
As per the documentation of this API
{code}
 * Return the row that matches <i>row</i> exactly,
   * or the one that immediately precedes it.
{code}  

If there are 2 regions in a table [r1,r3) and [r3,r5)
When this API is called with row as r3, The client will select the second 
region. And suppose there is no KV in this region with rowkey as r3. So the 
return from this region will be null...  But still as a user I would expect the 
call to return highest row from the 1st region. Say there we have row with key 
r2...


Still this API will not do that and will return null

This same kind of handling might be needed when we have more than one region in 
the META table also... 

Hope I am making it clear

                
> Fix concerns raised in HBASE-5922 related to HalfStoreFileReader
> ----------------------------------------------------------------
>
>                 Key: HBASE-5997
>                 URL: https://issues.apache.org/jira/browse/HBASE-5997
>             Project: HBase
>          Issue Type: Bug
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: Anoop Sam John
>         Attachments: Testcase.patch.txt
>
>
> Pls refer to the comment
> https://issues.apache.org/jira/browse/HBASE-5922?focusedCommentId=13269346&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13269346.
> Raised this issue to solve that comment. Just incase we don't forget it.

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

        

Reply via email to