ivandika3 commented on PR #5414: URL: https://github.com/apache/ozone/pull/5414#issuecomment-1825070298
Hi @szetszwo , might be slightly unrelated, but I have a question regarding the topology aware read with respect to Ratis pipeline. From my understanding, the intent for topology aware read is for the client to be able to get the block / chunk from the nearest datanode. For RATIS pipeline, it seems we always use `XceiverClientRatis` (in `XceiverClientManager#getClient` we pick the `XceiverClientSpi` implementation based on the pipeline type). However, since we have not supported Linearizable read from follower for Datanodes, won't the block/chunk read using Ratis always go through the pipeline leader? I was expecting the topology-aware read to use `XceiverClientGrpc`, but was not able to find the logic that uses it. I probably missed something since when the Ratis pipeline is closed, the Ratis group will be removed for the pipeline. This should mean that any Raft client trying to connect to that group will not be able to read the data using Ratis client (will throw `GroupMismatchException`). Any clarifications would be appreciated. -- 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]
