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] [Commented] (HBASE-18905) Allow CPs to request flush on Region and know the completion of the requested flush
Date Tue, 24 Oct 2017 12:49:02 GMT

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

Duo Zhang commented on HBASE-18905:

Checked the console log, the failed UT is TestServerCrashProcedure. Tried locally and passed.

Let me upload the patch to RB.

s/notExecuted/failed/ ?

Just want to follow the other methods below, beforeExecution and afterExecution. And the word
'fail' may give users an impression that something serious is happened, but here it usually
only means that there is already a flush ongoing.


> Allow CPs to request flush on Region and know the completion of the requested flush
> -----------------------------------------------------------------------------------
>                 Key: HBASE-18905
>                 URL: https://issues.apache.org/jira/browse/HBASE-18905
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Coprocessors
>            Reporter: Anoop Sam John
>            Assignee: Duo Zhang
>             Fix For: 2.0.0-alpha-4
>         Attachments: HBASE-18905.patch, HBASE-18905.patch
> Follow up for HBASE-18183
> As per that Jira, we keep only requestCompaction API in Region.  We did not have any
such for flush in Region.  Only API which was there is a flush which will block the callee
unless flush is done. This issue has to tacke
> 1. Decide whether we need a requestFlush in Region and if so add
> 2. Whether the requestCompaction (And requestFlush too) should return a Future?  Right
now the former do  not return any but allow to pass a CompactionLifeCycleTracker which will
get notified on start and end of compaction.

This message was sent by Atlassian JIRA

View raw message