hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-17210) Set timeout on trying rowlock according to client's RPC timeout
Date Thu, 01 Dec 2016 07:31:58 GMT

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

Ted Yu commented on HBASE-17210:
--------------------------------

bq. so we can use System.currentTimeMillis() directly

I don't have strong opinion on this. It is up to you.

> Set timeout on trying rowlock according to client's RPC timeout
> ---------------------------------------------------------------
>
>                 Key: HBASE-17210
>                 URL: https://issues.apache.org/jira/browse/HBASE-17210
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Phil Yang
>            Assignee: Phil Yang
>         Attachments: HBASE-17120.v1.patch
>
>
> Now when we want to get a row lock, the timeout is fixed and default is 30s. But the
requests from client have different RPC timeout setting. We can use the client's deadline
to set timeout on tryLock.



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

Mime
View raw message