summaryrefslogtreecommitdiff
path: root/src/mongo/db/curop.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/curop.cpp')
-rw-r--r--src/mongo/db/curop.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/curop.cpp b/src/mongo/db/curop.cpp
index 1c20a27daea..09c0a673246 100644
--- a/src/mongo/db/curop.cpp
+++ b/src/mongo/db/curop.cpp
@@ -641,6 +641,10 @@ void CurOp::reportState(OperationContext* opCtx, BSONObjBuilder* builder, bool t
}
}
+ if (!_failPointMessage.empty()) {
+ builder->append("failpointMsg", _failPointMessage);
+ }
+
if (auto n = _debug.additiveMetrics.prepareReadConflicts.load(); n > 0) {
builder->append("prepareReadConflicts", n);
}