You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Benjamin Mahler (JIRA)" <ji...@apache.org> on 2013/02/27 03:53:11 UTC

[jira] [Created] (MESOS-362) Inconsistent slave maps in the master.

Benjamin Mahler created MESOS-362:
-------------------------------------

             Summary: Inconsistent slave maps in the master.
                 Key: MESOS-362
                 URL: https://issues.apache.org/jira/browse/MESOS-362
             Project: Mesos
          Issue Type: Bug
            Reporter: Benjamin Mahler
            Assignee: Benjamin Mahler
            Priority: Critical


We are seeing inconsistent values in the webui between "Connected" and "Activated" slaves.
In particular, the number of "Activated" slaves is much higher.

The master keeps two internal maps.

multihashmap<std::string, uint16_t> slaveHostnamePorts; // Source of "Activated" in the webui.
hashmap<SlaveID, Slave*> slaves; // Source of "Connected" in the webui.

1. The names don't really make a lot of sense.
2. These are supposed to be kept in sync AFAICT, but I see some spots where we remove from slaves but not from slaveHostnamePorts.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira