diff options
author | Andrew Witten <andrew.witten@mongodb.com> | 2021-11-05 13:31:39 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-11-05 14:16:41 +0000 |
commit | 116e5b8e47a90bbc5a892bd071b1b23295d13c58 (patch) | |
tree | c6b4c6c28900b1258a2ad3f5b42cc570849093e3 /src/mongo/db/process_health/health_observer_base.h | |
parent | c3b6bdf71ed1e39e3cfdc0f6738b085f352b333f (diff) | |
download | mongo-116e5b8e47a90bbc5a892bd071b1b23295d13c58.tar.gz |
SERVER-61071 Removes all instances of `HealthObserverIntensity`
Diffstat (limited to 'src/mongo/db/process_health/health_observer_base.h')
-rw-r--r-- | src/mongo/db/process_health/health_observer_base.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mongo/db/process_health/health_observer_base.h b/src/mongo/db/process_health/health_observer_base.h index 382f237c6fa..070e145d38a 100644 --- a/src/mongo/db/process_health/health_observer_base.h +++ b/src/mongo/db/process_health/health_observer_base.h @@ -87,8 +87,6 @@ protected: virtual Future<HealthCheckStatus> periodicCheckImpl( PeriodicHealthCheckContext&& periodicCheckContext) = 0; - HealthObserverIntensity getIntensity() const override; - // Helper method to create a status without errors. HealthCheckStatus makeHealthyStatus() const; @@ -101,8 +99,7 @@ protected: mutable Mutex _mutex = MONGO_MAKE_LATCH(HierarchicalAcquisitionLevel(1), "HealthObserverBase::_mutex"); - // TODO: remove this field, should be done in config. - HealthObserverIntensity _intensity = HealthObserverIntensity::kNonCritical; + // Indicates if there any check running to prevent running checks concurrently. bool _currentlyRunningHealthCheck = false; // Enforces the safety interval. |