hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Duo Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-17053) Remove LogRollerExitedChecker
Date Wed, 09 Nov 2016 05:42:58 GMT

     [ 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

This message was sent by Atlassian JIRA

View raw message