xkrogen commented on pull request #3976: URL: https://github.com/apache/hadoop/pull/3976#issuecomment-1050121895
I agree with you that the current logic has RPCs that are theoretically unnecessary. I would be very open to some approach that allows `ObservedReadProxyProvider` to share information with its `failoverProxy` instance (either direction, from ORRP to `failoverProxy` or from `failoverProxy` to ORPP, could be useful) to eliminate unnecessary work. But we need to make sure it is layered cleanly, so that `failoverProxy` and ORPP both continue to respect their duties: `failoverProxy` is responsible for finding/contacting the Active NN (including for `msync`), and ORPP is responsible for finding/contacting Observer NNs. -- 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: common-issues-unsubscr...@hadoop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org