hingu-8103 opened a new pull request, #8395: URL: https://github.com/apache/hbase/pull/8395
…the same **AI Usage** Used github copilot to implement the changes and then hand reviewed all the changes. **Testing** 1. Reproduced the error for CreateTableProcedure and SplitTableRegionProcedure as mentioned in the ticket. 2. Applied the fix. 3. Tested the same scenario manually for CreateTableProcedure and SplitTableRegionProcedure. 4. Got the DoNotRetryException instead of hanging procedure for long time. ex. > hbase:037:0> create 'table1','f',SPLITS => [key1, key2] > > ERROR: org.apache.hadoop.hbase.DoNotRetryIOException: Encoded region name collision detected: '495efdcd24c0fa172bef0c39ec4c9ab4' for table table1. Refusing to proceed. > at org.apache.hadoop.hbase.util.ModifyRegionUtils.checkForEncodedNameCollisions(ModifyRegionUtils.java:110) > at org.apache.hadoop.hbase.master.procedure.CreateTableProcedure.prepareCreate(CreateTableProcedure.java:297) > at org.apache.hadoop.hbase.master.procedure.CreateTableProcedure.executeFromState(CreateTableProcedure.java:95) > at org.apache.hadoop.hbase.master.procedure.CreateTableProcedure.executeFromState(CreateTableProcedure.java:60) > at org.apache.hadoop.hbase.procedure2.StateMachineProcedure.execute(StateMachineProcedure.java:188) > at org.apache.hadoop.hbase.procedure2.Procedure.doExecute(Procedure.java:963) > at org.apache.hadoop.hbase.procedure2.ProcedureExecutor.execProcedure(ProcedureExecutor.java:1785) > at org.apache.hadoop.hbase.procedure2.ProcedureExecutor.executeProcedure(ProcedureExecutor.java:1462) > at org.apache.hadoop.hbase.procedure2.ProcedureExecutor$WorkerThread.runProcedure(ProcedureExecutor.java:2110) > at org.apache.hadoop.hbase.trace.TraceUtil.trace(TraceUtil.java:216) > at org.apache.hadoop.hbase.procedure2.ProcedureExecutor$WorkerThread.run(ProcedureExecutor.java:2137) > > For usage try 'help "create"' > > Took 0.5583 seconds -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
