[
https://issues.apache.org/jira/browse/HBASE-21073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16646585#comment-16646585
]
Mike Drob commented on HBASE-21073:
-----------------------------------
Here's a rough patch for master. The attached patch works, but needs review.
Open questions:
* I have no idea what happens if we try to scan one of the user space tables.
* Why do I need to explicitly set {{TABLES_ON_MASTER}} to true in the test? I
haven't yet found where Master reads that value to know that it should report
as an RS.
* RSRpcServices can try to reject requests from non-replication peers... why? I
see HBASE-19082 but I don't understand the motivation there. If we don't have
replication, then it seems ok to ignore the rejection logic.
* I have no idea what happens if we try to come up in a repair mode when
replication is enabled.
> "Maintenance mode" master
> -------------------------
>
> Key: HBASE-21073
> URL: https://issues.apache.org/jira/browse/HBASE-21073
> Project: HBase
> Issue Type: Sub-task
> Components: amv2, hbck2, master
> Reporter: stack
> Assignee: Mike Drob
> Priority: Major
> Attachments: HBASE-21073.master.001.patch
>
>
> Make it so we can bring up a Master in "maintenance mode". This is parse of
> master wal procs but not taking on regionservers. It would be in a state
> where "repair" Procedures could run; e.g. a Procedure that could recover meta
> by looking for meta WALs, splitting them, dropping recovered.edits, and even
> making it so meta is readable. See parent issue for why needed (disaster
> recovery).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)