Uh oh!
There was an error while loading. Please reload this page.
HDDS-11150. Recon Overview page crashes due to failed API Calls - #6944
Conversation
spacemonkd
commented
Jul 15, 2024
@ArafatKhan2198@devmadhuu@smitajoshi12 Could you please take a look? |
devmadhuu
commented
Jul 15, 2024
@devabhishekpal Can you pls define clear scope and clear boundaries this PR will cover ? |
dombizita
commented
Jul 15, 2024
I'd suggest to go with |
spacemonkd
commented
Jul 15, 2024
smitajoshi12
commented
Jul 16, 2024
…hts .reduce() error
spacemonkd
commented
Jul 17, 2024
Hi @smitajoshi12 , thanks for your review. |
@devabhishekpal This condition should be in or |
Hi @smitajoshi12, regarding:
Yes, but the reject will only happen when we completely shift to a different navigation/page. Shifting between FileSize view tab and the ContainerSize tab will not trigger the reject - so the data will get loaded properly. |
spacemonkd
commented
Jul 17, 2024
Extending on the above, if we use In that scenario we do not want to throw the error, but fallback to the default values. |
smitajoshi12
commented
Jul 17, 2024
Can you review as this pr needs to get merged in OZONE-719.3.x as we have already completed all recent changes cherry picks for ECharts and other upstream Jiras. |
smitajoshi12
commented
Jul 17, 2024
If one api fails because Internal server error or any other issue response is blank but UI looks this way It should catch error or throw error |
spacemonkd
commented
Jul 17, 2024
Thanks @smitajoshi12 for pointing this out. In case the request is cancelled, we go to catch. Can you take another look? |
smitajoshi12
commented
Jul 18, 2024
It looks good to me |
ArafatKhan2198
left a comment
There was a problem hiding this comment.
Thanks for the changes @devabhishekpal after discussing in our offline sync the changes LGTM!
smitajoshi12
left a comment
There was a problem hiding this comment.
All changes looks good to me
ArafatKhan2198
commented
Jul 19, 2024
Thanks for the patch @devabhishekpal and thanks for the review @smitajoshi12 |
…-delete * HDDS-10239-container-reconciliation: (184 commits) HDDS-10373. Implement framework for capturing Merkle Tree Metrics. (apache#6864) HDDS-11188. Initial setup for new UI layout and enable users to switch to new UI (apache#6953) HDDS-11120. Rich rebalancing status info (apache#6911) HDDS-11187. Fix Event Handling in Recon OMDBUpdatesHandler to Prevent ClassCastException. (apache#6950) HDDS-11213. Bump commons-daemon to 1.4.0 (apache#6971) HDDS-11212. Bump commons-net to 3.11.1 (apache#6973) HDDS-11211. Bump assertj-core to 3.26.3 (apache#6972) HDDS-11210. Bump log4j2 to 2.23.1 (apache#6970) HDDS-11150. Recon Overview page crashes due to failed API Calls (apache#6944) HDDS-11183. Keys from DeletedTable and DeletedDirTable of AOS should be deleted on batch operation while creating a snapshot (apache#6946) HDDS-11198. Fix Typescript configs for Recon (apache#6961) HDDS-11180. Simplify HttpServer2#inferMimeType return statement (apache#6963) HDDS-11194. OM missing audit log for upgrade (apache#6958) HDDS-10389. Implement a search feature for users to locate open keys within the Open Keys Insights section. (apache#6231) HDDS-10561. Dashboard for delete key metrics (apache#6948) HDDS-11192. Increase SPNEGO URL test coverage (apache#6956) HDDS-11179. DBConfigFromFile#readFromFile result of toIOException not thrown (apache#6957) HDDS-11186. First container log missing from bundle (apache#6952) HDDS-10844. Clarify snapshot create error message. (apache#6955) HDDS-11166. Switch to Rocky Linux-based ozone-runner (apache#6942) ...





What changes were proposed in this pull request?
HDDS-11150. Shift Axios.all to Promise.allSettled and add fallback for error in failed requests
Please describe your PR in detail:
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-11150
How was this patch tested?
Patch was tested manually