andyhuangdev opened a new pull request, #11484:
URL: https://github.com/apache/ozone/pull/11484

   ## What changes were proposed in this pull request?
   
   The Recon v2 Containers page sends duplicate initial requests for MISSING 
containers, the quasi-closed count, and cluster state. Both the page's initial 
fetches and the immediate auto-reload poll request the same data, adding 
unnecessary Recon queries, including the unhealthy containers summary 
aggregation.
   
   This patch lets the first auto-reload poll perform the initial fetch when 
auto-reload is enabled. When disabled, a mount effect loads the data through 
the same refresh function. The independent cluster state initial fetch is 
disabled.
   
   Manual refresh and periodic polling retain their existing behavior. The 
change affects data loading only, with no visual changes.
   
   ## What is the link to the Apache JIRA
   
   
[[HDDS-16877](https://issues.apache.org/jira/browse/HDDS-16877)](<https://issues.apache.org/jira/browse/HDDS-16877>)
   
   ## How was this patch tested?
   
   Temporary regression tests reproduced duplicate requests for all three 
endpoints before the fix and passed afterward. They also covered initial 
loading with auto-reload disabled, periodic polling, manual refresh, and 
toggling auto-reload. These tests were removed from the final patch.
   
   The existing Pipelines tests, Checkstyle, RAT, and `git diff --check` passed.


-- 
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]

Reply via email to