Viraj Jasani created HBASE-28040:
------------------------------------

             Summary: hbck2 bypass should provide an option to bypass existing 
top N procedures
                 Key: HBASE-28040
                 URL: https://issues.apache.org/jira/browse/HBASE-28040
             Project: HBase
          Issue Type: Improvement
            Reporter: Viraj Jasani


For the degraded cluster state where several SCPs and underlying TRSPs are 
stuck due to network issues, it becomes difficult to resolve RITs and recover 
regions from SCPs.

In order to bypass stuck procedures, we need to extract and then provide list 
of proc ids from list_procedures or procedures.jsp page. If we could provide an 
option to bypass initial N procedures that are listed on the procedures.jsp 
page, that would be really helpful.

Implementation steps:
 # Similar to BypassProcedureRequest, provide BypassTopNProcedureRequest with 
only attribute value as N
 # MasterRpcServices to provide new API: 
 # 
{code:java}
bypassProcedure(RpcController controller,
  MasterProtos.BypassTopNProcedureRequest request) {code}

 # Hbck to provide utility to consume this master rpc
 # HBCK2 to use new hbck utility for bypassing top N requests

 

For this new option, top N procedures matter, hence they should follow the 
sorting order similar to the one followed by procedures.jsp.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to