Uploaded image for project: 'S2Graph'
  1. S2Graph
  2. S2GRAPH-37

Extract LockExpireDuration as configuration

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Done
    • Trivial
    • Resolution: Done
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            steamshon Do Yung Yoon
            steamshon Do Yung Yoon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: