[
https://issues.apache.org/jira/browse/MESOS-4007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yongqiao Wang updated MESOS-4007:
---------------------------------
Description:
To consider the Mesos master recovery and failover case, Mesos master needs to
persist the non-default weights information in registry:
- In the first boot, the first leading master initialize the weights replicated
log with the specified by command-line flags(--weights). The flags values are
only useful to bootstrap the cluster, after which point the registry becomes
the source of truth.
- At runtime, the weights replicated log can only be updated by /weight.
- For Mesos master restart/failover case, if the replicated log for
roles/weights has exist, and then it prefers to use the registry values and
ignore the flags (--weights), and also log a warning in Mesos master that the
flags values are being ignored.
The `--weights` flag is now considered deprecated and will be removed in a
future version of Mesos.
was:
To consider the Mesos master recovery and failover case, Mesos master needs to
persist the non-default weights information in registry:
- In the first boot, the first leading master initialize the weights replicated
log with the specified by command-line flags(--weights). The flags values are
only useful to bootstrap the cluster, after which point the registry becomes
the source of truth.
- At runtime, the weights replicated log can only be updated by /weight.
- For Mesos master restart/failover case, if the replicated log for
roles/weights has exist, and then it prefers to use the registry values and
ignore the flags (--weights), and also log a warning in Mesos master that the
flags values are being ignored.
The `--weights` flag is now considered deprecated and will be removed in a
future.
version of Mesos.
> Persist non-default weights information to registry
> ---------------------------------------------------
>
> Key: MESOS-4007
> URL: https://issues.apache.org/jira/browse/MESOS-4007
> Project: Mesos
> Issue Type: Task
> Reporter: Yongqiao Wang
> Assignee: Yongqiao Wang
>
> To consider the Mesos master recovery and failover case, Mesos master needs
> to persist the non-default weights information in registry:
> - In the first boot, the first leading master initialize the weights
> replicated log with the specified by command-line flags(--weights). The flags
> values are only useful to bootstrap the cluster, after which point the
> registry becomes the source of truth.
> - At runtime, the weights replicated log can only be updated by /weight.
> - For Mesos master restart/failover case, if the replicated log for
> roles/weights has exist, and then it prefers to use the registry values and
> ignore the flags (--weights), and also log a warning in Mesos master that the
> flags values are being ignored.
> The `--weights` flag is now considered deprecated and will be removed in a
> future version of Mesos.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)