You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Duo Zhang (JIRA)" <ji...@apache.org> on 2016/11/09 05:42:58 UTC

[jira] [Updated] (HBASE-17053) Remove LogRollerExitedChecker

     [ https://issues.apache.org/jira/browse/HBASE-17053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Duo Zhang updated HBASE-17053:
------------------------------
    Attachment: HBASE-17053.patch

Add a running flag to LogRoller instead of server.isStopped. And also remove the metaLogRoller as now the LogRoller can handle rolling of multiple WALs.

> Remove LogRollerExitedChecker
> -----------------------------
>
>                 Key: HBASE-17053
>                 URL: https://issues.apache.org/jira/browse/HBASE-17053
>             Project: HBase
>          Issue Type: Sub-task
>          Components: wal
>    Affects Versions: 2.0.0
>            Reporter: Duo Zhang
>            Assignee: Duo Zhang
>             Fix For: 2.0.0
>
>         Attachments: HBASE-17053.patch
>
>
> Now the LogRoll may exit before WAL exit but we will still write some close event to WAL when shutting down RS. And for AsyncFSWAL, we will open a new wal writer when error occur. If LogRoller has already exited then AsyncFSWAL will wait for ever and cause RS to hang.
> It does not make sense to quit LogRoller ahead of WAL, this jira aims to change the shutdown order.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)