[
https://issues.apache.org/jira/browse/HBASE-5197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13207275#comment-13207275
]
Zhihong Yu commented on HBASE-5197:
-----------------------------------
Patch looks good.
Minor comment:
{code}
+ maxRetriesMultiplier * maxRetriesMultiplier);
{code}
Can store the result of above computation in a variable ?
> [replication] Handle socket timeouts in ReplicationSource to prevent DDOS
> -------------------------------------------------------------------------
>
> Key: HBASE-5197
> URL: https://issues.apache.org/jira/browse/HBASE-5197
> Project: HBase
> Issue Type: Improvement
> Affects Versions: 0.90.5
> Reporter: Jean-Daniel Cryans
> Assignee: Jean-Daniel Cryans
> Fix For: 0.94.0, 0.90.7, 0.92.1
>
> Attachments: HBASE-5197.patch
>
>
> Kind of like HBASE-4462 but for replication. If while replicating you get a
> socket timeout, the last thing you want to do is to retry it right away.
> Since we can't fail the replication thread, the best I can think of is to
> sleep a really long amount of time.
> Planning to bring this to all branches.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira