You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Arafat Khan (Jira)" <ji...@apache.org> on 2025/12/05 05:47:00 UTC

[jira] [Created] (HDDS-14079) Fix Recon startup failures during schema upgrades due to race conditions

Arafat Khan created HDDS-14079:
----------------------------------

             Summary:  Fix Recon startup failures during schema upgrades due to race conditions
                 Key: HDDS-14079
                 URL: https://issues.apache.org/jira/browse/HDDS-14079
             Project: Apache Ozone
          Issue Type: Improvement
            Reporter: Arafat Khan


*Problem:*
During cluster upgrades, Recon fails to start due to race conditions between schema upgrades and service initialization. Multiple components attempt to access database columns before the upgrade framework adds them, causing SQLSyntaxErrorException and startup failures.

*Root Causes:*
1. ReconTaskStatusUpdaterManager reads RECON_TASK_STATUS table during Guice injection, before schema upgrades run
2. ReconTaskStatusMetrics registers and queries the table during start(), before upgrades complete
3. NSSummaryAggregatedTotalsUpgrade requires currentOMMetadataManager which is not set during startup

*Impact:*
- Recon starts successfully during upgrades without schema-related crashes
- Upgrade handlers can access required dependencies
- No functional changes to steady-state behaviour



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org