Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-15481

Add pre/post roll to WALObserver

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.3.0
    • Fix Version/s: 1.3.0, 2.0.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Incompatible change
    • Release Note:
      Hide
      <!-- markdown -->

      WALObserver coprocessors now can receive notifications of WAL rolling via the new methods `preWALRoll` and `postWALRoll`.

      This change is incompatible due to the addition of these methods to the `WALObserver` interface. Downstream users are encouraged to instead extend the `BaseWALObserver` class, which remains compatible through this change.
      Show
      <!-- markdown --> WALObserver coprocessors now can receive notifications of WAL rolling via the new methods `preWALRoll` and `postWALRoll`. This change is incompatible due to the addition of these methods to the `WALObserver` interface. Downstream users are encouraged to instead extend the `BaseWALObserver` class, which remains compatible through this change.

      Description

      currently the WALObserver has only a pre/post Write. It will be useful to have a pre/post Roll too.

        Attachments

        1. HBASE-15481-v0.patch
          11 kB
          Matteo Bertozzi
        2. HBASE-15481-v1.patch
          10 kB
          Matteo Bertozzi
        3. HBASE-15481-v1.patch
          10 kB
          Michael Stack
        4. HBASE-15481-v2.patch
          11 kB
          Matteo Bertozzi

          Activity

            People

            • Assignee:
              mbertozzi Matteo Bertozzi
              Reporter:
              mbertozzi Matteo Bertozzi
            • Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: