You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by bm...@apache.org on 2019/10/04 19:23:42 UTC

[mesos] branch 1.5.x updated (1490400 -> f902fc6)

This is an automated email from the ASF dual-hosted git repository.

bmahler pushed a change to branch 1.5.x
in repository https://gitbox.apache.org/repos/asf/mesos.git.


    from 1490400  Updated configure.ac and cmakelist to 1.5.4.
     new 2b3a1fe  Fixed master::Slave::hasExecutor performance issue.
     new f902fc6  Added MESOS-9948 to the 1.5.4 CHANGELOG.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 CHANGELOG             | 1 +
 src/master/master.cpp | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)


[mesos] 01/02: Fixed master::Slave::hasExecutor performance issue.

Posted by bm...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

bmahler pushed a commit to branch 1.5.x
in repository https://gitbox.apache.org/repos/asf/mesos.git

commit 2b3a1feb4c3be8aafdbabdb041ff7dc083dc884e
Author: Benjamin Mahler <bm...@apache.org>
AuthorDate: Fri Oct 4 13:53:52 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 42f88b6..19526b5 100644
--- a/src/master/master.cpp
+++ b/src/master/master.cpp
@@ -11763,7 +11763,7 @@ bool Slave::hasExecutor(const FrameworkID& frameworkId,
                         const ExecutorID& executorId) const
 {
   return executors.contains(frameworkId) &&
-    executors.get(frameworkId).get().contains(executorId);
+    executors.at(frameworkId).contains(executorId);
 }
 
 


[mesos] 02/02: Added MESOS-9948 to the 1.5.4 CHANGELOG.

Posted by bm...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

bmahler pushed a commit to branch 1.5.x
in repository https://gitbox.apache.org/repos/asf/mesos.git

commit f902fc6f447f3477e137639824ece7cbf3b31fe7
Author: Benjamin Mahler <bm...@apache.org>
AuthorDate: Fri Oct 4 13:58:59 2019 -0400

    Added MESOS-9948 to the 1.5.4 CHANGELOG.
---
 CHANGELOG | 1 +
 1 file changed, 1 insertion(+)

diff --git a/CHANGELOG b/CHANGELOG
index 7a55830..7c2f012 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -21,6 +21,7 @@ Release Notes - Mesos - Version 1.5.4 (WIP)
   * [MESOS-9159] - Support Foreign URLs in docker registry puller.
   * [MESOS-9675] - Docker Manifest V2 Schema2 Support.
   * [MESOS-9704] - Support docker manifest v2s2 config GC.
+  * [MESOS-9948] - master::Slave::hasExecutor occupies 37% of a 150 second perf sample.
 
 
 Release Notes - Mesos - Version 1.5.3