summaryrefslogtreecommitdiff
path: root/src/mongo/db/vector_clock_mongod.cpp
diff options
context:
space:
mode:
authorSpencer T Brody <spencer@mongodb.com>2020-08-18 14:34:00 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-08-25 19:10:07 +0000
commit20169d980a7eb60b4ef675cafab70be2c6a80e46 (patch)
tree353a60f09987e65ba879a04b9eeda26ed4467a09 /src/mongo/db/vector_clock_mongod.cpp
parent680eb5a61bc123d021a75b5ec5a997409ec0d36d (diff)
downloadmongo-20169d980a7eb60b4ef675cafab70be2c6a80e46.tar.gz
SERVER-50344 Rename Client methods to clarify that they are about being killed during stepdown
Diffstat (limited to 'src/mongo/db/vector_clock_mongod.cpp')
-rw-r--r--src/mongo/db/vector_clock_mongod.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/vector_clock_mongod.cpp b/src/mongo/db/vector_clock_mongod.cpp
index 5f4bf1be052..fe9ddeaf7e1 100644
--- a/src/mongo/db/vector_clock_mongod.cpp
+++ b/src/mongo/db/vector_clock_mongod.cpp
@@ -324,7 +324,7 @@ Future<void> VectorClockMongoD::_doWhileQueueNotEmptyOrError(ServiceContext* ser
{
stdx::lock_guard<Client> lk(*tc.get());
- tc->setSystemOperationKillable(lk);
+ tc->setSystemOperationKillableByStepdown(lk);
}
const auto opCtxHolder = tc->makeOperationContext();