summaryrefslogtreecommitdiff
path: root/src/mongo/db/curop.h
diff options
context:
space:
mode:
authornehakhatri5 <neha.khatri@mongodb.com>2018-12-18 13:21:27 +1100
committernehakhatri5 <neha.khatri@mongodb.com>2018-12-28 14:13:44 +1100
commit86b6aca9fa1940e85bba87261d1494ef2c208a4a (patch)
treeca86b1309576d7e9890d6e2436cbf5d299295c29 /src/mongo/db/curop.h
parentaa236ed4f3096c85118f00618eec834c82363527 (diff)
downloadmongo-86b6aca9fa1940e85bba87261d1494ef2c208a4a.tar.gz
SERVER-38240 Added storage statistics information into the slowop log messages.
Diffstat (limited to 'src/mongo/db/curop.h')
-rw-r--r--src/mongo/db/curop.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/curop.h b/src/mongo/db/curop.h
index 5ed26b8a34e..3c63a58656d 100644
--- a/src/mongo/db/curop.h
+++ b/src/mongo/db/curop.h
@@ -204,6 +204,9 @@ public:
// Stores additive metrics.
AdditiveMetrics additiveMetrics;
+
+ // Stores storage statistics.
+ std::shared_ptr<StorageStats> storageStats;
};
/**