ArafatKhan2198 commented on PR #8938: URL: https://github.com/apache/ozone/pull/8938#issuecomment-3184129222
### Tested with a cluster and also attached the Log with Explanation As shown in the log below, the **NSSummaryTask** was triggered by the upgrade handler, but the tree was not built immediately because the required tables and **NSSummary** tasks had not yet been registered. The registration and initialization steps must happen first. Only after those are complete can the **NSSummaryTask** run successfully. You can see in the sequence below: 1. **Upgrade handler** triggers the NSSummary tree rebuild. 2. **Tasks and tables** are registered. 3. **NSSummaryTask** executes successfully. --- ``` 2025-08-13 14:07:07,023 [main] INFO upgrade.NSSummaryAggregatedTotalsUpgrade: Triggering asynchronous NSSummary tree rebuild for materialized totals (upgrade action). 2025-08-13 14:07:07,025 [main] INFO recon.ReconUtils: Async NSSummary tree rebuild scheduled successfully. --- At this point, NSSummaryTask cannot run yet because tasks and tables are not registered --- 2025-08-13 14:08:11,253 [Recon-SyncOM-0] INFO updater.ReconTaskStatusUpdater: Registered Task: OmDeltaRequest 2025-08-13 14:08:11,258 [Recon-SyncOM-0] INFO updater.ReconTaskStatusUpdater: Registered Task: ContainerKeyMapperTaskFSO 2025-08-13 14:08:11,264 [Recon-SyncOM-0] INFO updater.ReconTaskStatusUpdater: Registered Task: OmTableInsightTask 2025-08-13 14:08:11,268 [Recon-SyncOM-0] INFO updater.ReconTaskStatusUpdater: Registered Task: NSSummaryTask 2025-08-13 14:08:11,272 [Recon-SyncOM-0] INFO updater.ReconTaskStatusUpdater: Registered Task: ContainerKeyMapperTaskOBS 2025-08-13 14:08:11,275 [Recon-SyncOM-0] INFO updater.ReconTaskStatusUpdater: Registered Task: FileSizeCountTaskOBS 2025-08-13 14:08:11,278 [Recon-SyncOM-0] INFO updater.ReconTaskStatusUpdater: Registered Task: FileSizeCountTaskFSO --- Now that tasks and tables are registered, NSSummaryTask can execute --- 2025-08-13 14:08:11,443 [ReconTaskThread-0] INFO tasks.NSSummaryTask: Starting NSSummary tree reprocess with unified control... 2025-08-13 14:08:11,445 [Recon-NSSummaryTask-0] INFO tasks.NSSummaryTaskWithFSO: Completed a reprocess run of NSSummaryTaskWithFSO 2025-08-13 14:08:11,445 [ReconTaskThread-0] INFO tasks.NSSummaryTask:NSSummary reprocess execution time: 2 milliseconds 2025-08-13 14:08:11,445 [ReconTaskThread-0] INFO tasks.NSSummaryTask:NSSummary tree reprocess completed successfully with unified control. ``` -- 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]
