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

Add pre/post roll to WALObserver

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 1.3.0
    • 1.3.0, 2.0.0
    • None
    • None
    • Incompatible change
    • 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
          Michael Stack
        3. HBASE-15481-v1.patch
          10 kB
          Matteo Bertozzi
        4. HBASE-15481-v2.patch
          11 kB
          Matteo Bertozzi

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: