You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ch...@apache.org on 2018/05/11 23:34:02 UTC

[1/2] mesos git commit: Made `UriDiskProfileAdaptor` be able to update profile selectors.

Repository: mesos
Updated Branches:
  refs/heads/1.5.x 1b27db1c4 -> 0f426a7a2


Made `UriDiskProfileAdaptor` be able to update profile selectors.

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


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/73938039
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/73938039
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/73938039

Branch: refs/heads/1.5.x
Commit: 7393803902d3aff12801d93136a3e802f8d86834
Parents: 1b27db1
Author: Chun-Hung Hsiao <ch...@mesosphere.io>
Authored: Thu May 10 20:27:24 2018 -0700
Committer: Chun-Hung Hsiao <ch...@mesosphere.io>
Committed: Fri May 11 15:36:46 2018 -0700

----------------------------------------------------------------------
 src/resource_provider/storage/uri_disk_profile.cpp | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/73938039/src/resource_provider/storage/uri_disk_profile.cpp
----------------------------------------------------------------------
diff --git a/src/resource_provider/storage/uri_disk_profile.cpp b/src/resource_provider/storage/uri_disk_profile.cpp
index 665798f..459ee6c 100644
--- a/src/resource_provider/storage/uri_disk_profile.cpp
+++ b/src/resource_provider/storage/uri_disk_profile.cpp
@@ -279,11 +279,8 @@ void UriDiskProfileAdaptorProcess::notify(
     return;
   }
 
-  // Profiles can only be added, so if the parsed data is the same size,
-  // nothing has changed and no notifications need to be sent.
-  if (parsed.profile_matrix().size() <= profileMatrix.size()) {
-    return;
-  }
+  // TODO(chhsiao): No need to update the profile matrix and send notifications
+  // if the parsed mapping has the same size and profile selectors.
 
   // The fetched mapping satisfies our invariants.
 


[2/2] mesos git commit: Added MESOS-8906 to the 1.5.2 CHANGELOG.

Posted by ch...@apache.org.
Added MESOS-8906 to the 1.5.2 CHANGELOG.


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/0f426a7a
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/0f426a7a
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/0f426a7a

Branch: refs/heads/1.5.x
Commit: 0f426a7a25f2c00d7bf1e2ffe9482dba3e9dcfae
Parents: 7393803
Author: Chun-Hung Hsiao <ch...@mesosphere.io>
Authored: Fri May 11 15:59:26 2018 -0700
Committer: Chun-Hung Hsiao <ch...@mesosphere.io>
Committed: Fri May 11 16:02:04 2018 -0700

----------------------------------------------------------------------
 CHANGELOG | 8 ++++++++
 1 file changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/0f426a7a/CHANGELOG
----------------------------------------------------------------------
diff --git a/CHANGELOG b/CHANGELOG
index c1acd8b..22308f8 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,11 @@
+Release Notes - Mesos - Version 1.5.2 (WIP)
+-------------------------------------------
+* This is a bug fix release.
+
+** Bug
+  * [MESOS-8906] - `UriDiskProfileAdaptor` fails to update profile selectors.
+
+
 Release Notes - Mesos - Version 1.5.1
 -------------------------------------------
 * This is a bug fix release.