jrushford commented on a change in pull request #7485:
URL: https://github.com/apache/trafficserver/pull/7485#discussion_r581195975



##########
File path: proxy/ParentConsistentHash.cc
##########
@@ -389,6 +391,7 @@ ParentConsistentHash::markParentUp(ParentResult *result)
 
   ink_atomic_swap(&pRec->failedAt, static_cast<time_t>(0));
   int old_count = ink_atomic_swap(&pRec->failCount, 0);
+  ink_atomic_swap(&pRec->retriers, 0);

Review comment:
       @SolidWallOfCode were marking the parent up and just need to reset 
retriers to 0, the old value from ink_atomic_swap is not really needed and 
there is no ink_atomic_store()




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