HDDS-11468. Enabled DB sync button - #7216
Conversation
devmadhuu
left a comment
There was a problem hiding this comment.
Thanks @devabhishekpal for the patch, Do you know in what scenario, the OM sync response is empty ?
|
@devmadhuu, from the backend we will never get empty string. |
|
sync button was getting disabled with every click of sync button, not just first click |
|
Yes Devesh. This condition would disable the button, if omStatus got a response back i.e the API call was done. Initially in Overview page we are initializing Hence the button is enabled. After we click the button omSyncData() is triggered which sets the omStatus state. Hence the check for disabled now After refresh the state is again being set to This is the RCA. We have now removed the |
|
Are we updating tooltip info in this PR as per PR description ? |
|
We already have that in the code. Updated the description to reflect this. |
devmadhuu
left a comment
There was a problem hiding this comment.
Thanks @devabhishekpal for addressing the comments and explanation. Changes LGTM +1
ArafatKhan2198
left a comment
There was a problem hiding this comment.
Tested out the changes!
Everything looks good!
Thanks for the patch @devabhishekpal
LGTM +1
commented
Sep 20, 2024
|
Thanks for the patch @devabhishekpal |
What changes were proposed in this pull request?
HDDS-11468. Enabled DB sync button
Please describe your PR in detail:
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-11468
How was this patch tested?
Patch was tested manually and verified behaviour.