ArafatKhan2198 opened a new pull request, #11060: URL: https://github.com/apache/ozone/pull/11060
## What changes were proposed in this pull request? The upgrade action that adds the last_task_run_status and is_current_task_running columns to the RECON_TASK_STATUS table (ReconTaskStatusTableUpgradeAction) has two robustness gaps: It swallows failures. Unlike the other upgrade actions, execute() catches and logs any error but does not rethrow. If the column migration fails, layout finalization still marks the version as complete — leaving a table without the required columns that appears upgraded. Subsequent writes to RECON_TASK_STATUS then fail. It is not idempotent and cannot complete a partial migration. It unconditionally adds the columns and resets every row to 0, so it cannot safely re-run on a table that already has the columns, and cannot recover a migration that was interrupted after adding a column but before enforcing NOT NULL. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-16074 ## How was this patch tested? Unit testing -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
