HBase
  1. HBase
  2. HBASE-5617

Provide coprocessor hooks in put flow while rollbackMemstore.

    Details

    • Type: Improvement Improvement
    • Status: Patch Available
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 0.99.0
    • Component/s: Coprocessors
    • Labels:
      None

      Description

      With coprocessors hooks while put happens we have the provision to create new puts to other tables or regions. These puts can be done with writeToWal as false.
      In 0.94 and above the puts are first written to memstore and then to WAL. If any failure in the WAL append or sync the memstore is rollbacked.
      Now the problem is that if the put that happens in the main flow fails there is no way to rollback the
      puts that happened in the prePut.

      We can add coprocessor hooks to like pre/postRoolBackMemStore. Is any one hook enough here?

      1. HBASE-5617_2.patch
        20 kB
        ramkrishna.s.vasudevan
      2. HBASE-5617_1.patch
        19 kB
        ramkrishna.s.vasudevan

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

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

              Dates

              • Created:
                Updated:

                Development