hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Duo Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-17142) Implement multi get
Date Tue, 13 Dec 2016 10:32:58 GMT

    [ https://issues.apache.org/jira/browse/HBASE-17142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15744812#comment-15744812
] 

Duo Zhang commented on HBASE-17142:
-----------------------------------

{quote}
now maxRetries is the limit for the whole batch, rather than each group-actions by RS, right
{quote}

It is for each get, not the whole batch. For example, maxRetries is 10, and there are 10 gets
and we have 2 groups for the gets, then you could retry 20 times for the batch as each group
could retry 10 times. If you have 5 groups then it will be 50, 10 groups it will be 100, etc.

I think this is more reasonable than limit the maxRetries for the whole batch as the requests
for different groups are executed concurrently.

{quote}
And maybe we could use the same logic for all kinds of requests rather than Get only?
{quote}

Yes, it will be used for all batch.  I will file new issue to add the support of other operations.

Thanks.

> Implement multi get
> -------------------
>
>                 Key: HBASE-17142
>                 URL: https://issues.apache.org/jira/browse/HBASE-17142
>             Project: HBase
>          Issue Type: Sub-task
>          Components: asyncclient, Client
>    Affects Versions: 2.0.0
>            Reporter: Duo Zhang
>            Assignee: Duo Zhang
>             Fix For: 2.0.0
>
>         Attachments: HBASE-17142.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message