Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-18169 Coprocessor fix and cleanup before 2.0.0 release
  3. HBASE-19033

Allow CP users to change versions and TTL before opening StoreScanner

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 2.0.0-alpha-4, 2.0.0
    • Coprocessors
    • None
    • Incompatible change, Reviewed
    • Hide
      Add back the three methods without a return value:
      preFlushScannerOpen
      preCompactScannerOpen
      preStoreScannerOpen

      Introduce a ScanOptions interface to let CP users change the max versions and TTL of a ScanInfo. It will be passed as a parameter in the three methods above.

      Inntroduce a new example WriteHeavyIncrementObserver which convert increment to put and do aggregating when get. It uses the above three methods.
      Show
      Add back the three methods without a return value: preFlushScannerOpen preCompactScannerOpen preStoreScannerOpen Introduce a ScanOptions interface to let CP users change the max versions and TTL of a ScanInfo. It will be passed as a parameter in the three methods above. Inntroduce a new example WriteHeavyIncrementObserver which convert increment to put and do aggregating when get. It uses the above three methods.

    Description

      See the discussion in HBASE-19001. Changing versions and TTL is safe for flush/compaction so we can expose them.

      Attachments

        1. HBASE-19033-v2.patch
          81 kB
          Duo Zhang
        2. HBASE-19033-v2.patch
          81 kB
          Duo Zhang
        3. HBASE-19033-v1.patch
          79 kB
          Michael Stack
        4. HBASE-19033-v1.patch
          79 kB
          Michael Stack
        5. HBASE-19033-v1.patch
          79 kB
          Duo Zhang
        6. HBASE-19033.patch
          78 kB
          Duo Zhang

        Issue Links

          Activity

            People

              zhangduo Duo Zhang
              zhangduo Duo Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: