This is an automated email from the ASF dual-hosted git repository. bmahler pushed a commit to branch 1.9.x in repository https://gitbox.apache.org/repos/asf/mesos.git
commit 2c1eb0cdc57e24983a55bfade9e0a8f9a24c0a0d Author: Benjamin Mahler <[email protected]> AuthorDate: Fri Oct 4 13:50:38 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 f00906e..8fe9916 100644 --- a/src/master/master.cpp +++ b/src/master/master.cpp @@ -13781,7 +13781,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); }
