Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-4118

method regionserver.MemStore#updateColumnValue: the check for qualifier and family is missing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.90.3
    • 0.90.4
    • regionserver
    • None
    • all

    • Reviewed

    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) || !firstKv.matchingRow(kv)) {
                          break; // rows dont match, bail.
                      }
      

      Attachments

        1. 4118-v2.txt
          2 kB
          Ted Yu
        2. 4118.txt
          2 kB
          Ted Yu

        Activity

          People

            nkeywal Nicolas Liochon
            nkeywal Nicolas Liochon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: