smitajoshi12 commented on PR #6724:
URL: https://github.com/apache/ozone/pull/6724#issuecomment-2175801551

   > > > @smitajoshi12 we shouldn't show the initial tool tip from datanodes 
page "`It is going to decommission soon!!!`". Rather we should call 
decommission info API and match with what all datanodes are in decommissioning 
and update their status on UI. Behavior should be consistent across all UI 
pages for same entity. And also you need to call the decommission info API once 
, not multiple times as user land up on datanodes page.
   > > 
   > > 
   > > @devmadhuu Issue with Calling decommision API once is datanode api is 
called after 1 min if we call decommission API only once then we will not get 
updated values so checking UUIDs from decommission API and comparision will 
give incorrect results as i checked with Cluster data. It is going to 
decommmission soon msg is updated after calling decommision API and datanode 
API as we discussed previously datanode api is taking time to update records.
   > 
   > @smitajoshi12 As discussed, pls change the operational state column value 
based on decommission info API on datanodes page. Showing tooltip is wrong 
because datanode decommissioning has already started.
   
   @devmadhuu  
   I have done changes suggested by you update column manually as comparing 
uuids from decommission api. If one api fails it will not block other apis 
attached screenshots.
   2 Apis handled synchronously.
   


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