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: 2.0.0, 1.1.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_1.patch
        19 kB
        ramkrishna.s.vasudevan
      2. HBASE-5617_2.patch
        20 kB
        ramkrishna.s.vasudevan

        Issue Links

          Activity

          ramkrishna.s.vasudevan created issue -
          ramkrishna.s.vasudevan made changes -
          Field Original Value New Value
          Component/s coprocessors [ 12314191 ]
          ramkrishna.s.vasudevan made changes -
          Attachment HBASE-5617_1.patch [ 12520114 ]
          ramkrishna.s.vasudevan made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          ramkrishna.s.vasudevan made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          ramkrishna.s.vasudevan made changes -
          Attachment HBASE-5617_2.patch [ 12520451 ]
          ramkrishna.s.vasudevan made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          stack made changes -
          Fix Version/s 0.95.0 [ 12324094 ]
          Fix Version/s 0.96.0 [ 12320040 ]
          stack made changes -
          Fix Version/s 0.95.1 [ 12324288 ]
          Fix Version/s 0.95.0 [ 12324094 ]
          stack made changes -
          Fix Version/s 0.95.2 [ 12320040 ]
          Fix Version/s 0.95.1 [ 12324288 ]
          stack made changes -
          Fix Version/s 0.96.0 [ 12324822 ]
          Fix Version/s 0.95.2 [ 12320040 ]
          ramkrishna.s.vasudevan made changes -
          Link This issue relates to HBASE-9203 [ HBASE-9203 ]
          stack made changes -
          Fix Version/s 0.96.1 [ 12324961 ]
          Fix Version/s 0.96.0 [ 12324822 ]
          stack made changes -
          Fix Version/s 0.99.0 [ 12325675 ]
          Fix Version/s 0.96.1 [ 12324961 ]
          Enis Soztutar made changes -
          Fix Version/s 2.0.0 [ 12327188 ]
          Fix Version/s 0.99.1 [ 12328551 ]
          Fix Version/s 0.99.0 [ 12325675 ]
          Enis Soztutar made changes -
          Fix Version/s 0.99.2 [ 12328822 ]
          Fix Version/s 0.99.1 [ 12328551 ]
          Enis Soztutar made changes -
          Fix Version/s 1.0.0 [ 12325852 ]
          Fix Version/s 0.99.2 [ 12328822 ]
          Enis Soztutar made changes -
          Fix Version/s 1.1.0 [ 12329043 ]
          Fix Version/s 1.0.0 [ 12325852 ]

            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