@@ -449,7 +449,7 @@ void CurOp::_fetchStorageStatsIfNecessary(Date_t deadline, AdmissionContext::Pri
449
449
// a storage engine would have at-least held a global lock at one point, hence we
450
450
// limit our lock acquisition to such operations. We can get here and our lock
451
451
// acquisition be timed out or interrupted, in which case we'll throw. Callers should
452
- // handle that case, e.g., by logging a warning .
452
+ // handle that case, e.g., by logging a message .
453
453
if (_debug.storageStats == nullptr &&
454
454
shard_role_details::getLocker (opCtx)->wasGlobalLockTaken () &&
455
455
opCtx->getServiceContext ()->getStorageEngine ()) {
@@ -495,10 +495,10 @@ void CurOp::setEndOfOpMetrics(long long nreturned) {
495
495
const auto & admCtx = ExecutionAdmissionContext::get (opCtx ());
496
496
_fetchStorageStatsIfNecessary (Date_t::max (), admCtx.getPriority ());
497
497
} catch (DBException& ex) {
498
- LOGV2_WARNING (8457400 ,
499
- " Failed to gather storage statistics for query stats" ,
500
- " opId" _attr = opCtx ()->getOpID (),
501
- " error" _attr = redact (ex));
498
+ LOGV2 (8457400 ,
499
+ " Failed to gather storage statistics for query stats" ,
500
+ " opId" _attr = opCtx ()->getOpID (),
501
+ " error" _attr = redact (ex));
502
502
}
503
503
504
504
if (_debug.storageStats ) {
@@ -753,11 +753,11 @@ bool CurOp::completeAndLogOperation(const logv2::LogOptions& logOptions,
753
753
_fetchStorageStatsIfNecessary (Date_t::now () + Milliseconds (500 ),
754
754
AdmissionContext::Priority::kExempt );
755
755
} catch (const DBException& ex) {
756
- LOGV2_WARNING_OPTIONS (20526 ,
757
- logOptions,
758
- " Failed to gather storage statistics for slow operation" ,
759
- " opId" _attr = opCtx->getOpID (),
760
- " error" _attr = redact (ex));
756
+ LOGV2_OPTIONS (20526 ,
757
+ logOptions,
758
+ " Failed to gather storage statistics for slow operation" ,
759
+ " opId" _attr = opCtx->getOpID (),
760
+ " error" _attr = redact (ex));
761
761
}
762
762
763
763
// Gets the time spent blocked on prepare conflicts.
0 commit comments