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/11/04 02:29:14 UTC
svn commit: r1405455 -
/incubator/mesos/branches/0.10.0/src/log/coordinator.cpp
Author: benh
Date: Sun Nov 4 01:29:14 2012
New Revision: 1405455
URL: http://svn.apache.org/viewvc?rev=1405455&view=rev
Log:
Added some log lines.
Modified:
incubator/mesos/branches/0.10.0/src/log/coordinator.cpp
Modified: incubator/mesos/branches/0.10.0/src/log/coordinator.cpp
URL: http://svn.apache.org/viewvc/incubator/mesos/branches/0.10.0/src/log/coordinator.cpp?rev=1405455&r1=1405454&r2=1405455&view=diff
==============================================================================
--- incubator/mesos/branches/0.10.0/src/log/coordinator.cpp (original)
+++ incubator/mesos/branches/0.10.0/src/log/coordinator.cpp Sun Nov 4 01:29:14 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();
}