Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-3399

5sec retry loop before declaring lease failure (was: as a last resort try to update it there)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3.6
    • 1.3.7, 1.4
    • core
    • None

    Description

      Not sure if this is a good idea - but when the lease check finds out that the lease is valid for less than the margin (which is 20sec by default), it could then try to update the lease directly. The 'ugly' part of this is that normally this job is done by a dedicated background 'lease update' thread - and now it would be done in the context of a user-thread 'very much under the hood'. but the advantage would be that it would eg catch the 'laptop-sleep' situation when running a single vm ..

      Attachments

        Issue Links

          Activity

            People

              stefanegli Stefan Egli
              stefanegli Stefan Egli
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: