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

Introduce a timeout to shutdown of WAL

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha-1, 2.0.0
    • 3.0.0-alpha-2, 2.6.0, 2.4.17, 2.5.4
    • wal
    • None

    Description

      When the regionserver is aborted(server.isAborted() is true), it will just reject the newly coming requests, so it is important to keep a short time to stop to make a short MTTR. 

      When the WAL is shutting down, we can wait some time to flush the unacked appends, but if that is a long time, I think we can just abort without flushing them. 

      By introducing a timeout for WAL shutdown, we can control the shutdown time, especially for those sensitive businesses.

      Attachments

        Activity

          People

            Xiaolin Ha Xiaolin Ha
            Xiaolin Ha Xiaolin Ha
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: