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

stop oak-core bundle only transiently on lease failure

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.4.6, 1.5.8
    • 1.4.7, 1.5.9, 1.6.0
    • documentmk
    • None

    Description

      Since OAK-3397 the oak-core bundle is stopped (via bundle.stop();) when the lease with the document store times out (ie lease failed to be updated in time). Using bundle.stop(); leads to an unwanted side-effect, namely that it changes and persists the autostart settings of the bundle. Ie on next startup the oak-core bundle will not automatically start.

      Using bundle.stop(Bundle.STOP_TRANSIENT); would avoid this and achieve exactly what was the original intension: to stop the bundle (temporarily) until restart

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: