[ https://issues.apache.org/jira/browse/MESOS-8200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Peach reassigned MESOS-8200: ---------------------------------- Assignee: Yan Xu (was: James Peach) > Suppressed roles are not honoured for v1 scheduler subscribe requests. > ---------------------------------------------------------------------- > > Key: MESOS-8200 > URL: https://issues.apache.org/jira/browse/MESOS-8200 > Project: Mesos > Issue Type: Bug > Components: scheduler api, scheduler driver > Reporter: Alexander Rukletsov > Assignee: Yan Xu > > When triaging MESOS-7996 I've found out that > {{Call.subscribe.suppressed_roles}} field is empty when the master processes > the request from a v1 HTTP scheduler. More precisely, [this > conversion|https://github.com/apache/mesos/blob/1132e1ddafa6a1a9bc8aa966bd01d7b35c7682d9/src/master/http.cpp#L969] > wipes the field. This is likely because this conversion relies on a general > [protobuf conversion > utility|https://github.com/apache/mesos/blob/1132e1ddafa6a1a9bc8aa966bd01d7b35c7682d9/src/internal/devolve.cpp#L28-L50], > which fails to copy {{suppressed_roles}} because they have different tags, > compare > [v0|https://github.com/apache/mesos/blob/1132e1ddafa6a1a9bc8aa966bd01d7b35c7682d9/include/mesos/scheduler/scheduler.proto#L271] > and > [v1|https://github.com/apache/mesos/blob/1132e1ddafa6a1a9bc8aa966bd01d7b35c7682d9/include/mesos/v1/scheduler/scheduler.proto#L258]. -- This message was sent by Atlassian JIRA (v6.4.14#64029)