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

Alexey Serbin updated KUDU-2771:
--------------------------------
    Summary: Re-factor the common pattern of queuing requests from multiple 
threads  (was: Re-factor the common pattern of queuing requests from multiple 
threads into a utility )

> Re-factor the common pattern of queuing requests from multiple threads
> ----------------------------------------------------------------------
>
>                 Key: KUDU-2771
>                 URL: https://issues.apache.org/jira/browse/KUDU-2771
>             Project: Kudu
>          Issue Type: Improvement
>          Components: util
>    Affects Versions: 1.10.0
>            Reporter: Alexey Serbin
>            Priority: Major
>              Labels: newbie
>
> Currently, in {{KuduClient::Data::ConnectToClusterAsync}} and in 
> {{SentryPrivilegesFetcher::GetSentryPrivileges}} there is a pattern when 
> concurrent requests with the same parameters are queued and multiple threads 
> are waiting for something to be executed just once.  When the result is ready 
> to be picked up (or a failure happened), the threads are awoken and fed with 
> appropriate information.
> It would be nice to factor out, unify, and generalize that code into a 
> library function (or a class with appropriate methods) somewhere under 
> {{src/kudu/util}}.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to