You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Xiaolin Ha (Jira)" <ji...@apache.org> on 2021/12/01 09:01:00 UTC
[jira] [Created] (HBASE-26526) Introduce a timeout to shutdown of WAL
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)