Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-7636

Add DomainInfo to Resource

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • None

    Description

      Add a new domain field to Resource, which identifies the domain where the resources are located.

      It would be nice to add this to a higher-level message, like Offer, but we need to account for the possibility that different resources in a single offer come from different domains – e.g., when support for external resource providers is introduced.

      It will now be possible for an agent's checkpointed resources to change when the agent is drained and restarted. Combined with the change to preserve AgentID across agent drains (MESOS-6223), this will mean that if an agent re-registers, its resources might have changed; previous copies of the resource in the master's in-memory state will need to be updated.

      This also means that if a framework has cached the properties of a persistent volume it created, subsequently attempting to destroy that volume with the old persistent volume JSON may not succeed, because the PV's properties have changed.

      Attachments

        Activity

          People

            neilc Neil Conway
            neilc Neil Conway
            Vinod Kone Vinod Kone
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: