[
https://issues.apache.org/jira/browse/HDDS-13501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18009476#comment-18009476
]
Devesh Kumar Singh commented on HDDS-13501:
-------------------------------------------
Extend this Jira for other pages of Recon as well using a framework.
> Recon UI - Disk Usage (NameSpace Summary) page to avoid repeated API calls
> --------------------------------------------------------------------------
>
> Key: HDDS-13501
> URL: https://issues.apache.org/jira/browse/HDDS-13501
> Project: Apache Ozone
> Issue Type: Task
> Components: Ozone Recon
> Reporter: Devesh Kumar Singh
> Assignee: Abhishek Pal
> Priority: Major
>
> If a API call being made by UI for any expensive page like disk usage and
> user lands up on page where on immediate landup, UI calls the API
> "{*}/api/v1/namespace/du?path=/&files=true&sortSubPaths=true{*}" without
> waiting for user to provide the path for which he or she is interested in and
> lets say if the API is taking time and in-flight, so then user is impatient
> and switch back and forth across other pages, and come back on same Disk
> Usage page again, then UI should make note of earlier promise and avoid
> making same call again.
>
> cc: [~kkasawa]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]