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

Method updateReplicaStatus

src/log/recover.cpp:562–568  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

560 }
561
562 Future<bool> updateReplicaStatus(const Metadata::Status& status)
563 {
564 LOG(INFO) << "Updating replica status to " << status;
565
566 return replica->update(status)
567 .then(defer(self(), &Self::_updateReplicaStatus, lambda::_1, status));
568 }
569
570 Future<bool> _updateReplicaStatus(
571 bool updated, const Metadata::Status& status)

Callers

nothing calls this directly

Calls 3

deferFunction · 0.85
thenMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected