summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/resharding
diff options
context:
space:
mode:
authorFaustoleyva54 <fausto.leyva@mongodb.com>2022-01-04 15:20:44 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-01-05 21:46:33 +0000
commit32522b3fca6ab3a6ece67912c3c9af63654ecbbb (patch)
tree0d9863dc3283fb82705e1f544697da1541cd8dba /src/mongo/db/s/resharding
parent23376f506bf0ee9cb64cdf212a618224a1184859 (diff)
downloadmongo-32522b3fca6ab3a6ece67912c3c9af63654ecbbb.tar.gz
SERVER-62050 Remove _opCtx from AutoGetCollection
Diffstat (limited to 'src/mongo/db/s/resharding')
-rw-r--r--src/mongo/db/s/resharding/resharding_data_copy_util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/resharding/resharding_data_copy_util.cpp b/src/mongo/db/s/resharding/resharding_data_copy_util.cpp
index 9e6b143efa6..a0410be86b5 100644
--- a/src/mongo/db/s/resharding/resharding_data_copy_util.cpp
+++ b/src/mongo/db/s/resharding/resharding_data_copy_util.cpp
@@ -66,7 +66,7 @@ void ensureCollectionExists(OperationContext* opCtx,
}
WriteUnitOfWork wuow(opCtx);
- coll.ensureDbExists()->createCollection(opCtx, nss, options);
+ coll.ensureDbExists(opCtx)->createCollection(opCtx, nss, options);
wuow.commit();
});
}