[ 
https://issues.apache.org/jira/browse/HBASE-9084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13724953#comment-13724953
 ] 

chunhui shen commented on HBASE-9084:
-------------------------------------

the second flush(issued by hbaseadmin flush side) won't work by
{code}
if (this.rsServices != null && this.rsServices.isAborted()) {
      // Don't flush when server aborting, it's unsafe
      throw new IOException("Aborting flush because server is abortted...");
    }
{code}

or

{code}
synchronized (writestate) {
        if (!writestate.flushing && writestate.writesEnabled) {
          this.writestate.flushing = true;
        } else {
          if (LOG.isDebugEnabled()) {
            LOG.debug("NOT flushing memstore for region " + this
                + ", flushing=" + writestate.flushing + ", writesEnabled="
                + writestate.writesEnabled);
          }
          status.abort("Not flushing since "
              + (writestate.flushing ? "already flushing"
                  : "writes not enabled"));
          return false;
        }
      }
{code}
                
> HBase admin flush has a data loss risk even after HBASE-7671
> ------------------------------------------------------------
>
>                 Key: HBASE-9084
>                 URL: https://issues.apache.org/jira/browse/HBASE-9084
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver
>    Affects Versions: 0.95.1, 0.94.10
>            Reporter: Liang Xie
>            Assignee: Liang Xie
>            Priority: Critical
>         Attachments: HBASE-9084-0.94.txt, HBASE-9084.txt
>
>
> see 
> https://issues.apache.org/jira/browse/HBASE-7671?focusedCommentId=13722148&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13722148
> will attach a simple patch soon

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to