diff options
Diffstat (limited to 'src/mongo/util/fail_point.cpp')
-rw-r--r-- | src/mongo/util/fail_point.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/util/fail_point.cpp b/src/mongo/util/fail_point.cpp index d8512c6985d..324a4056eb5 100644 --- a/src/mongo/util/fail_point.cpp +++ b/src/mongo/util/fail_point.cpp @@ -159,7 +159,7 @@ FailPoint::RetCode FailPoint::slowShouldFailOpenBlock( case alwaysOn: return slowOn; case random: { - const AtomicInt32::WordType maxActivationValue = _timesOrPeriod.load(); + const int maxActivationValue = _timesOrPeriod.load(); if (FailPointPRNG::current()->nextPositiveInt32() < maxActivationValue) return slowOn; |