virajjasani commented on PR #5552:
URL: https://github.com/apache/hadoop/pull/5552#issuecomment-1507395844

   IMHO we could do something like this: add a new key/value pair in the 
CallerContext at RouterRpcClient level, e.g. `append("isRouter", "true")` and 
then at audit log level, instead of only relying on `isClientPortInfoAbsent()`, 
we can also check if the context has `isRouter` key present with value `true`. 
If so, then add `dfsrouterPort` with remote port (same logic as `else` part in 
this PR).
   Thoughts?


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