[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jira] [Created] (HBASE-20659) Implement a reopen table regions procedure

Duo Zhang created HBASE-20659:

             Summary: Implement a reopen table regions procedure
                 Key: HBASE-20659
             Project: HBase
          Issue Type: Bug
            Reporter: Duo Zhang

For serial replication peer, and sync replication peer on branch HBASE-19064, sometimes we need to reopen the regions for a table to make sure that we have some wal edits which have not been replicated yet, or let the region switch a wal implementation. But for peer related procedures, we do not hold the table lock so if there are region split or merge than we may fail to reopen all the regions and cause problems.

So I think we need to introduce a table procedure which is used to reopen all the regions for a table, and like other table procedures, such as ModifyTableProcedure, it will hold the exclusive lock on a table so we will not miss the new regions.

This message was sent by Atlassian JIRA