You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Duo Zhang (JIRA)" <ji...@apache.org> on 2019/03/02 14:05:00 UTC

[jira] [Resolved] (HBASE-21979) Also send requests to secondary replicas if primary replica fail within the timeout

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

Duo Zhang resolved HBASE-21979.
-------------------------------
    Resolution: Won't Fix

Think again, this is not a good practice. It is not a good idea to set a very small retry number which means the primary call may fail even before we send the requests to secondary replicas. At least the operation timeout should be greater than the primary timeout, and should also have a proper retry number config.

> Also send requests to secondary replicas if primary replica fail within the timeout
> -----------------------------------------------------------------------------------
>
>                 Key: HBASE-21979
>                 URL: https://issues.apache.org/jira/browse/HBASE-21979
>             Project: HBase
>          Issue Type: Sub-task
>          Components: asyncclient, Client
>            Reporter: Duo Zhang
>            Priority: Major
>
> For now we will only request the secondary replicas if the primary replica does not respond within the timeout. If it fails immediately we will finish the request without sending requests to secondary replicas. This is different with the sync client implementation. Let's change the behavior.



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