This is an automated email from the ASF dual-hosted git repository. bmahler pushed a commit to branch 1.7.x in repository https://gitbox.apache.org/repos/asf/mesos.git
commit 7e036afedcba87ee5365c399da884643a5e5497f Author: Benjamin Mahler <[email protected]> AuthorDate: Fri Oct 4 13:52:20 2019 -0400 Fixed master::Slave::hasExecutor performance issue. This is a backport of the broader fix in MESOS-9948. --- src/master/master.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/master/master.cpp b/src/master/master.cpp index 1a95b69..980ce17 100644 --- a/src/master/master.cpp +++ b/src/master/master.cpp @@ -12657,7 +12657,7 @@ bool Slave::hasExecutor(const FrameworkID& frameworkId, const ExecutorID& executorId) const { return executors.contains(frameworkId) && - executors.get(frameworkId)->contains(executorId); + executors.at(frameworkId).contains(executorId); }
