Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-22546

Change runtime reload_strategy

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 9.2
    • Fix Version/s: 9.3
    • Component/s: Runtime
    • Release Notes Description:
      Hide

      Runtime reload strategy has been set by default to "standby" and can be changed with the property "org.nuxeo.runtime.reload_strategy". Standby mode will:

      • stop all components
      • apply the stash (components to remove/add before restarting)
      • start all components

      restart will:

      • stop all components
      • deactivate all components
      • apply the stash
      • activate all components
      • start all components
      Show
      Runtime reload strategy has been set by default to "standby" and can be changed with the property "org.nuxeo.runtime.reload_strategy". Standby mode will: stop all components apply the stash (components to remove/add before restarting) start all components restart will: stop all components deactivate all components apply the stash activate all components start all components
    • Sprint:
      nxcore 9.3.1, nxcore 9.3.2, nxcore 9.3.3, nxcore 9.3.4
    • Story Points:
      5

      Description

      Currently the runtime uses a compatibility mode for its reload strategy. This mode is unstash:

      org.nuxeo.runtime.reload_strategy=unstash
      

      Depending on runtime state, this mode will:

      • stop components to remove
      • deactivate components to remove
      • apply the stash (components to remove/add before restarting)
      • activate new components (<-- check if it's needed)
      • activate new components and put them to desired state list (standby or started)
      • start new components

      There's two other modes standby and restart.
      standby will:

      • stop all components
      • apply the stash
      • start all components

      restart will:

      • stop all components
      • deactivate all components
      • apply the stash
      • activate all components
      • start all components

      We should use standby mode, remove unstash mode and keep restart.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 weeks
                  3w

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.