[ 
https://issues.apache.org/jira/browse/HDDS-16324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sergey Soldatov updated HDDS-16324:
-----------------------------------
        Parent: HDDS-10338
    Issue Type: Sub-task  (was: Bug)

> 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: Sub-task
>          Components: Ozone Client
>    Affects Versions: 2.2.1
>            Reporter: Sergey Soldatov
>            Assignee: Sergey Soldatov
>            Priority: Major
>
> 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]

Reply via email to