You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by be...@apache.org on 2012/12/11 00:59:36 UTC

svn commit: r1419899 - /incubator/mesos/branches/0.10.x/src/log/coordinator.cpp

Author: benh
Date: Mon Dec 10 23:59:35 2012
New Revision: 1419899

URL: http://svn.apache.org/viewvc?rev=1419899&view=rev
Log:
Added some log lines.

Modified:
    incubator/mesos/branches/0.10.x/src/log/coordinator.cpp

Modified: incubator/mesos/branches/0.10.x/src/log/coordinator.cpp
URL: http://svn.apache.org/viewvc/incubator/mesos/branches/0.10.x/src/log/coordinator.cpp?rev=1419899&r1=1419898&r2=1419899&view=diff
==============================================================================
--- incubator/mesos/branches/0.10.x/src/log/coordinator.cpp (original)
+++ incubator/mesos/branches/0.10.x/src/log/coordinator.cpp Mon Dec 10 23:59:35 2012
@@ -298,6 +298,9 @@ Result<uint64_t> Coordinator::write(
   } while (timeout.remaining() > 0);
 
   // Timed out ... discard remaining futures.
+  LOG(INFO) << "Coordinator timed out while attempting to write "
+            << Action::Type_Name(action.type())
+            << " action at position " << action.position();
   discard(futures);
   return Result<uint64_t>::none();
 }
@@ -487,6 +490,8 @@ Result<Action> Coordinator::fill(uint64_
   }
 
   // Timed out ...
+  LOG(INFO) << "Coordinator timed out attempting to fill position "
+            << position << " in the log";
   return Result<Action>::none();
 }