Xiaolin Ha created HBASE-26526:
----------------------------------
Summary: Introduce a timeout to shutdown of WAL
Key: HBASE-26526
URL: https://issues.apache.org/jira/browse/HBASE-26526
Project: HBase
Issue Type: Improvement
Components: wal
Affects Versions: 2.0.0, 3.0.0-alpha-1
Reporter: Xiaolin Ha
Assignee: Xiaolin Ha
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.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)