You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Anoop Sam John (JIRA)" <ji...@apache.org> on 2013/12/14 17:03:08 UTC

[jira] [Issue Comment Deleted] (HBASE-10157) Provide CP hook post log replay

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

Anoop Sam John updated HBASE-10157:
-----------------------------------

    Comment: was deleted

(was: {code}
     this.isRecovering = newState;
+    if (wasRecovering && !isRecovering) {
+      // Call only when log replay is over.
+      coprocessorHost.postLogReplay();
+    }
{code}
In the patch calling the hook after setting the boolean state. Can change to call the hook before setting the boolean? That will make sure that region will show its status as recovering before even while postLogReplay() hook works.)

> Provide CP hook post log replay
> -------------------------------
>
>                 Key: HBASE-10157
>                 URL: https://issues.apache.org/jira/browse/HBASE-10157
>             Project: HBase
>          Issue Type: Improvement
>          Components: Coprocessors
>    Affects Versions: 0.96.0
>            Reporter: Anoop Sam John
>            Assignee: Anoop Sam John
>             Fix For: 0.98.0, 0.96.2, 0.99.0
>
>         Attachments: HBASE-10157.patch, HBASE-10157_V2.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.1.4#6159)