Uploaded image for project: 'Marathon'
  1. Marathon
  2. MARATHON-8290

UnreachableInactive handling outside of Instance condition

    Details

    • Type: Task
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Orchestration
    • Labels:

      Description

      We want to get rid of pre-computed condition on Instance.state.condition also UnreachableInactive should be handled on a different level than an Instance state condition.

      The proposal is to change the handling to the following:

      1. When instance becomes unreachable schedule a tick for the unreachable inactive period
      2. when receiving this tick do:
        1. explicit reconciliation do we need this
        2. ask instance tracked for the current state of this instance
      3. if still inactive, emit InstanceIsUnreachableInactive event
      4. ScaleAppUpdateStepImpl will for UnreachableInactive listen to this event, not for InstanceChange
      5. on a Marathon fail-over we should schedule these ticks for all unreachable instances

      Definition of done

      ScaleAppUpdateStepImpl won't be using InstanceChange event for triggering UnreachableInactive scale checks.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              alenavarkockova Alena Varkockova
              Team:
              Orchestration Team
              Watchers:
              Alena Varkockova, Matthias Eichstedt
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: