HBase
  1. HBase
  2. HBASE-10578

For the same row key, the KV in the newest StoreFile should be returned

    Details

    • Type: Bug Bug
    • Status: Patch Available
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 0.89-fb, 0.99.0, 0.98.2
    • Fix Version/s: 0.89-fb
    • Component/s: Scanners
    • Labels:
      None

      Description

      When multiple scanners have the same KV, HBase should pick the "newest" one.
      i.e. pick the KV from the store file with the largest seq id.

      In the KeyValueHeap generalizedSeek implementation, we seem to prefer the "current"
      scanner over the scanners in the heap – THIS IS WRONG.

      The diff adds a unit test to make sure that bulk loads correctly. And fixes the issue.

      1. HBASE-10578-v2.patch
        10 kB
        Amitanand Aiyer
      2. HBASE-10578.patch
        9 kB
        Amitanand Aiyer

        Activity

          People

          • Assignee:
            Amitanand Aiyer
            Reporter:
            Amitanand Aiyer
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:

              Development