You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Alexander Rukletsov (JIRA)" <ji...@apache.org> on 2015/09/08 11:28:46 UTC

[jira] [Assigned] (MESOS-3165) Persist and recover quota to/from Registry

     [ https://issues.apache.org/jira/browse/MESOS-3165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexander Rukletsov reassigned MESOS-3165:
------------------------------------------

    Assignee: Alexander Rukletsov

> Persist and recover quota to/from Registry
> ------------------------------------------
>
>                 Key: MESOS-3165
>                 URL: https://issues.apache.org/jira/browse/MESOS-3165
>             Project: Mesos
>          Issue Type: Task
>          Components: master, replicated log
>            Reporter: Alexander Rukletsov
>            Assignee: Alexander Rukletsov
>              Labels: mesosphere
>
> To persist quotas across failovers, the Master should save them in the registry. To support this, we shall:
> * Introduce a Quota state variable in registry.proto;
> * Extend the Operation interface so that it supports a ‘Quota’ accumulator (see src/master/registrar.hpp);
> * Introduce AddQuota / RemoveQuota operations;
> * Recover quotas from the registry on failover to the Master’s internal::master::Role struct;
> * Extend RegistrarTest with quota-specific tests.
> NOTE: Registry variable can be rather big for production clusters (see MESOS-2075). While it should be fine for MVP to add quota information to registry, we should consider storing Quota separately, as this does not need to be in sync with slaves update. However, currently adding more variable is not supported by the registrar.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)