rob05c commented on issue #4935:
URL: https://github.com/apache/trafficcontrol/issues/4935#issuecomment-669597373


   This is getting, not setting. Returning the pending status for multiple 
servers would be a fundamental change to the API, and is likely to break 
clients.
   
   But with regard to the parent pending, I'm not 100% sure but looking at the 
SQL, I think it's probably implicitly returning if parents of either server are 
pending. But that's not where the error is.
   
   The error is in `WHERE s.cachegroup != (SELECT s.cachegroup FROM server s 
WHERE s.host_name = $4)`, which I don't fully understand. Changing it to `WHERE 
s.cachegroup NOT IN` would make it execute successfully, and might have that 
effect. @zrhoffman ?


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to