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/09/19 07:47:48 UTC
svn commit: r1387454 - /incubator/mesos/trunk/src/log/coordinator.cpp
Author: benh
Date: Wed Sep 19 05:47:48 2012
New Revision: 1387454
URL: http://svn.apache.org/viewvc?rev=1387454&view=rev
Log:
Added some log lines.
Modified:
incubator/mesos/trunk/src/log/coordinator.cpp
Modified: incubator/mesos/trunk/src/log/coordinator.cpp
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/log/coordinator.cpp?rev=1387454&r1=1387453&r2=1387454&view=diff
==============================================================================
--- incubator/mesos/trunk/src/log/coordinator.cpp (original)
+++ incubator/mesos/trunk/src/log/coordinator.cpp Wed Sep 19 05:47:48 2012
@@ -299,6 +299,9 @@ Result<uint64_t> Coordinator::write(
} while (timeout.remaining() > Seconds(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();
}
@@ -488,6 +491,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();
}