You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Andrew Kyle Purtell (Jira)" <ji...@apache.org> on 2022/06/14 22:09:00 UTC

[jira] [Resolved] (HBASE-7011) log rolling and cache flushing should be able to proceed in parallel

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

Andrew Kyle Purtell resolved HBASE-7011.
----------------------------------------
      Assignee:     (was: Kannan Muthukkaruppan)
    Resolution: Duplicate

> log rolling and cache flushing should be able to proceed in parallel
> --------------------------------------------------------------------
>
>                 Key: HBASE-7011
>                 URL: https://issues.apache.org/jira/browse/HBASE-7011
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Kannan Muthukkaruppan
>            Priority: Major
>
> Today, during a memstore flush (snapshot of memstore + flushing to disk), log rolling cannot happen. This seems like a bad design, and an unnecessary restriction. 
> Possible reasons cited for this in code are:
> (i) maintenance of the lastSeqWritten map.
> (ii) writing a "completed-cache-flush" marker into the same log before the roll.
> It seems that we can implement a new design for (i) to avoid holding the lock for the entire duration of the flush. And the motivation for (ii) is not even clear. We should reason this out, and make sure we can relax the restriction. [See related discussion in HBASE-6980.]



--
This message was sent by Atlassian Jira
(v8.20.7#820007)