You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@s2graph.apache.org by "DOYUNG YOON (JIRA)" <ji...@apache.org> on 2016/02/04 09:42:39 UTC

[jira] [Created] (S2GRAPH-37) Extract LockExpireDuration as configuration

DOYUNG YOON created S2GRAPH-37:
----------------------------------

             Summary: Extract LockExpireDuration as configuration
                 Key: S2GRAPH-37
                 URL: https://issues.apache.org/jira/browse/S2GRAPH-37
             Project: S2Graph
          Issue Type: Improvement
            Reporter: DOYUNG YOON
            Assignee: DOYUNG YOON
            Priority: Trivial


LockExpireDuration on {{AsynchbaseStorage}} is parameter to decide how long lock on snapshot edge can be guaranteed. if this value has been elapsed after one request acquired lock on snapshot edge, then other request can break this lock and overwrite it.

it is hard coded as Math.max(MaxRetryNum * MaxBackOff * 2, 10000) currently and I think it would be better to change it as configuration.



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