MCPcopy Create free account
hub / github.com/apache/mesos / foreachkey

Function foreachkey

src/master/framework.cpp:446–450  ·  view source on GitHub ↗

It's possible that we're not tracking the role from the resources in the operation for this framework if the role is absent from the framework's set of roles. In this case, we track the role's allocation for this framework.

Source from the content-addressed store, hash-verified

444 // absent from the framework's set of roles. In this case, we
445 // track the role's allocation for this framework.
446 foreachkey (const std::string& role, consumed->allocations()) {
447 if (!isTrackedUnderRole(role)) {
448 trackUnderRole(role);
449 }
450 }
451 }
452}
453

Callers

nothing calls this directly

Calls 3

countMethod · 0.45
emptyMethod · 0.45
filterMethod · 0.45

Tested by

no test coverage detected