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

Duo Zhang updated HBASE-22039:
------------------------------
    Attachment: HBASE-22039-v1.patch

> Should add the synchronous parameter for the XXXSwitch method in AsyncAdmin
> ---------------------------------------------------------------------------
>
>                 Key: HBASE-22039
>                 URL: https://issues.apache.org/jira/browse/HBASE-22039
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Admin, asyncclient, Client
>            Reporter: Duo Zhang
>            Assignee: Duo Zhang
>            Priority: Major
>             Fix For: 3.0.0, 2.2.0, 2.3.0
>
>         Attachments: HBASE-22039-v1.patch, HBASE-22039-v1.patch, 
> HBASE-22039.patch
>
>
> For now we always pass true to HMaster, maybe the decision is that user just 
> do not need to calling get on the returned Future if it wants asynchronous.
> But the problem here is that, the return value is not void, it is a boolean, 
> which is the previous state of the flag, sometimes users do not need to wait 
> until the previous transitions or split/merge to complete, but they still 
> want to get the previous value of the flag.
> So we still need to provide the synchronous parameter.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to