diff options
author | Blake Oler <blake.oler@mongodb.com> | 2020-11-24 21:02:42 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-12-05 01:20:43 +0000 |
commit | 90150fccbac05d75e96b6874132dae71c3c0b31c (patch) | |
tree | 051790a9956ace291b010ada496b8984731997ae /src/mongo/db/s/scoped_collection_metadata.h | |
parent | f0fdfbbc3f5c0a3f3596790d096fe26dd678a63f (diff) | |
download | mongo-90150fccbac05d75e96b6874132dae71c3c0b31c.tar.gz |
SERVER-52801 Implement local drop for the original collection on resharding donors
Diffstat (limited to 'src/mongo/db/s/scoped_collection_metadata.h')
-rw-r--r-- | src/mongo/db/s/scoped_collection_metadata.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/s/scoped_collection_metadata.h b/src/mongo/db/s/scoped_collection_metadata.h index 40cef70599e..55252ba6bf9 100644 --- a/src/mongo/db/s/scoped_collection_metadata.h +++ b/src/mongo/db/s/scoped_collection_metadata.h @@ -57,9 +57,9 @@ public: return _impl->get().isSharded(); } - bool writesShouldRunInDistributedTransaction(const OID& originalEpoch, - const OID& reshardingEpoch) const { - return _impl->get().writesShouldRunInDistributedTransaction(originalEpoch, reshardingEpoch); + bool writesShouldRunInDistributedTransaction(const UUID& originalUUID, + const UUID& reshardingUUID) const { + return _impl->get().writesShouldRunInDistributedTransaction(originalUUID, reshardingUUID); } bool isValidKey(const BSONObj& key) const { |