HBase
  1. HBase
  2. HBASE-3758

HTable.delete triggers pre/postScannerOpen upcalls of RegionObserver

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.92.0
    • Component/s: Coprocessors
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Currently RegionObserver pre/postScannerOpen() upcalls are injected at HRegion.instantiateInternalScanner(). If someone uses scanner methods at HRegion, ScannerOpen upcalls can be triggered unexpectedly. HBase-3583 pulled scannerNext and scannerClose from HRegion to HRegionServer. We also need to pull scannerOpen to HRegionObserver to prevent unexpected triggers.

      1. HBase3758-4.patch
        7 kB
        Gary Helmling
      2. HBase3758-2.patch
        6 kB
        Mingjie Lai

        Activity

        Hide
        Mingjie Lai added a comment -

        Patch attached here.

        Show
        Mingjie Lai added a comment - Patch attached here.
        Hide
        Gary Helmling added a comment -

        Final patch from review

        Show
        Gary Helmling added a comment - Final patch from review
        Hide
        Gary Helmling added a comment -

        Committed to trunk. Thanks Mingjie.

        Show
        Gary Helmling added a comment - Committed to trunk. Thanks Mingjie.
        Hide
        Hudson added a comment -

        Integrated in HBase-TRUNK #1858 (See https://hudson.apache.org/hudson/job/HBase-TRUNK/1858/)

        Show
        Hudson added a comment - Integrated in HBase-TRUNK #1858 (See https://hudson.apache.org/hudson/job/HBase-TRUNK/1858/ )

          People

          • Assignee:
            Mingjie Lai
            Reporter:
            Mingjie Lai
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development