~mesos/mesos/master

Viewing all changes in revision 11290.

  • Committer: Benjamin Mahler
  • Date: 2017-01-30 00:44:17 UTC
  • Revision ID: git-v1:d0b519b23b468bf3ca45697b207880912704a31a
Added TODOs to make the master code safer.

The executor and tasks fields in the master's structs for agents
and frameworks are publicly visible, but yet for correctness it
is required that callers made modifications through the member
functions which carry additional logic (e.g. tracking allocated
resources). The TODO here is to make these private and to provide
public views that are const.

Review: https://reviews.apache.org/r/55968

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: