hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-4118) method regionserver.MemStore/updateColumnValue: the check for qualifier and family is missing in the code
Date Wed, 20 Jul 2011 16:42:58 GMT

     [ https://issues.apache.org/jira/browse/HBASE-4118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ted Yu updated HBASE-4118:
--------------------------

    Description: 
           [...]
            while (it.hasNext()) {
                KeyValue kv = it.next();

                // if this isnt the row we are interested in, then bail:
                if (!firstKv.matchingColumn(family, qualifier) || !firstKv.matchingRow(kv))
{
                    break; // rows dont match, bail.
                }

                [...]
            }


should be replaced by:
                // if this isnt the row we are interested in, then bail:
                if (!kv.matchingColumn(family, qualifier) || !kv.matchingRow(kv)) {
                    break; // rows dont match, bail.
                }



  was:
           [...]
            while (it.hasNext()) {
                KeyValue kv = it.next();

                // if this isnt the row we are interested in, then bail:
                if (!firstKv.matchingColumn(family, qualifier) || !firstKv.matchingRow(kv))
{
                    break; // rows dont match, bail.
                }

                [...]
            }


should be replaced by:
                // if this isnt the row we are interested in, then bail:
                if (!kv.matchingColumn(family, qualifier) || !firstKv.matchingRow(kv)) {
                    break; // rows dont match, bail.
                }




> method regionserver.MemStore/updateColumnValue: the check for qualifier and family is
missing in the code
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-4118
>                 URL: https://issues.apache.org/jira/browse/HBASE-4118
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver
>    Affects Versions: 0.90.3
>         Environment: all
>            Reporter: nkeywal
>            Priority: Minor
>
>            [...]
>             while (it.hasNext()) {
>                 KeyValue kv = it.next();
>                 // if this isnt the row we are interested in, then bail:
>                 if (!firstKv.matchingColumn(family, qualifier) || !firstKv.matchingRow(kv))
{
>                     break; // rows dont match, bail.
>                 }
>                 [...]
>             }
> should be replaced by:
>                 // if this isnt the row we are interested in, then bail:
>                 if (!kv.matchingColumn(family, qualifier) || !kv.matchingRow(kv)) {
>                     break; // rows dont match, bail.
>                 }

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message