Kaustubh1204 opened a new pull request, #380:
URL: https://github.com/apache/kvrocks-controller/pull/380

   Refactor RedirectIfNotLeader middleware to include explicit checks for 
self-redirect scenarios. When a node is not leader but the leader address 
points to itself, the middleware now returns a 503 error instead of attempting 
redirect, breaking the loop. Includes unit tests covering self-redirect cases 
and other redirect scenarios.
   
   Fixes #302


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

Reply via email to