Sergey Soldatov created HDDS-16324:
--------------------------------------
Summary: XceiverClientGrpc.streamRead should wait for flow-control
readiness via onReadyHandler instead of a 10 ms poll
Key: HDDS-16324
URL: https://issues.apache.org/jira/browse/HDDS-16324
Project: Apache Ozone
Issue Type: Bug
Components: Ozone Client
Affects Versions: 2.2.1
Reporter: Sergey Soldatov
Assignee: Sergey Soldatov
streamRead() waited for the request stream to become ready by polling isReady()
every 10 ms on the consumer thread, so every flow-control stall was rounded up
to a multiple of the poll interval.
Instead of asking repeatedly, the client might asks gRPC to tell it when the
stream is free using onReadyHandler callback.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]