Umeshkumar9414 opened a new pull request, #8878: URL: https://github.com/apache/hbase/pull/8878
Backport of the master change https://github.com/apache/hbase/pull/8877 to `branch-3.0`. JIRA: https://issues.apache.org/jira/browse/HBASE-30539 `FSTableDescriptors.writeTableDescriptor` used to return `null` after 10 failed attempts, and `CreateTableProcedure` ignored that, so the create moved on to `hbase:meta` and region assignment with no `.tableinfo` on HDFS. The region server then failed every open with `Missing table descriptor` and the assign procedure retried forever. `writeTableDescriptor` now throws `IOException` after the last attempt (failed attempts logged at WARN), so the create procedure stays in `WRITE_FS_LAYOUT` and retries. The cherry-pick from master had three cosmetic conflicts in `FSTableDescriptors.java` (the `hbase:meta` log line and two javadoc hunks), resolved by keeping this branch's log line and taking the new javadoc. The main logic is identical to master. Tests run locally on this branch and passing: `TestCreateTableProcedureDescriptorWriteFailure` (3), `TestFSTableDescriptors`, `TestCreateTableProcedure`, `TestCloneSnapshotProcedure`, `TestMasterRegionInitialize`. Co-authored-by: Claude Sonnet 5.5 <[email protected]> -- 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]
