This is an automated email from the ASF dual-hosted git repository. chhsiao pushed a commit to branch 1.7.x in repository https://gitbox.apache.org/repos/asf/mesos.git
commit 9ce1418b79e92e8bbd1526902e4f70827907ba39 Author: Chun-Hung Hsiao <[email protected]> AuthorDate: Mon Mar 18 11:14:36 2019 -0700 Fixed an agent crash bug when SLRP recovers dropped operations. Review: https://reviews.apache.org/r/70232 --- src/resource_provider/storage/provider.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/resource_provider/storage/provider.cpp b/src/resource_provider/storage/provider.cpp index eefcb0f..687976d 100644 --- a/src/resource_provider/storage/provider.cpp +++ b/src/resource_provider/storage/provider.cpp @@ -1269,9 +1269,11 @@ StorageLocalResourceProviderProcess::reconcileOperationStatuses() case OPERATION_FAILED: ++metrics.operations_failed.at(operation.info().type()); break; + case OPERATION_DROPPED: + ++metrics.operations_dropped.at(operation.info().type()); + break; case OPERATION_UNSUPPORTED: case OPERATION_ERROR: - case OPERATION_DROPPED: case OPERATION_UNREACHABLE: case OPERATION_GONE_BY_OPERATOR: case OPERATION_RECOVERING:
