HBase
  1. HBase
  2. HBASE-10447

Memstore flusher scans storefiles also when the scanner heap gets reset

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.98.0, 0.99.0
    • Fix Version/s: 0.98.0, 0.99.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      See the mail thread
      http://osdir.com/ml/general/2014-01/msg61294.html

      In case of flush we create a memstore flusher which in turn creates a StoreScanner backed by a Single ton MemstoreScanner.

      But this scanner also registers for any updates in the reader in the HStore. Is this needed?
      If this happens then any update on the reader may nullify the current heap and the entire Scanner Stack is reset, but this time with the other scanners for all the files that satisfies the last top key. So the flush that happens on the memstore holds the storefile scanners also in the heap that was recreated but originally the intention was to create a scanner on the memstore alone.

      1. HBASE-10447_trunk_1.patch
        0.7 kB
        ramkrishna.s.vasudevan
      2. HBASE-10447_trunk.patch
        14 kB
        ramkrishna.s.vasudevan
      3. HBASE-10447_0.98.patch
        14 kB
        ramkrishna.s.vasudevan

        Issue Links

          Activity

            People

            • Assignee:
              ramkrishna.s.vasudevan
              Reporter:
              ramkrishna.s.vasudevan
            • Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development