You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by mz...@apache.org on 2018/10/29 21:39:17 UTC

[mesos] branch master updated: Added filters info to the `DECLINE` call log message.

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

mzhu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git


The following commit(s) were added to refs/heads/master by this push:
     new 90dd6c3  Added filters info to the `DECLINE` call log message.
90dd6c3 is described below

commit 90dd6c3f3bbe705d4f843c563f292bf8808af93e
Author: Meng Zhu <mz...@mesosphere.io>
AuthorDate: Fri Oct 26 10:26:26 2018 -0700

    Added filters info to the `DECLINE` call log message.
    
    This helps to investigate allocator allocation decisions
    without verbose logging.
    
    Review: https://reviews.apache.org/r/69193
---
 src/master/master.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/master/master.cpp b/src/master/master.cpp
index 704dfc0..f88c7c1 100644
--- a/src/master/master.cpp
+++ b/src/master/master.cpp
@@ -5870,7 +5870,8 @@ void Master::decline(
   CHECK_NOTNULL(framework);
 
   LOG(INFO) << "Processing DECLINE call for offers: " << decline.offer_ids()
-            << " for framework " << *framework;
+            << " for framework " << *framework << " with "
+            << decline.filters().refuse_seconds() << " seconds filter";
 
   ++metrics->messages_decline_offers;