summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/resharding/resharding_data_copy_util.h
diff options
context:
space:
mode:
authorYuhong Zhang <yuhong.zhang@mongodb.com>2021-02-11 20:48:50 +0000
committerYuhong Zhang <yuhong.zhang@mongodb.com>2021-02-17 18:27:30 +0000
commitfb8d9d4ce62b053c83495100c9181679c9b08872 (patch)
treea4280a9f05b4492c0ede5520fff58488fb9af22c /src/mongo/db/s/resharding/resharding_data_copy_util.h
parentf89e0d56229062e37748e710422120a1a40c8a8f (diff)
downloadmongo-fb8d9d4ce62b053c83495100c9181679c9b08872.tar.gz
SERVER-49894 Have resharding oplog fetcher resume from 'ts' component of largest _id insertedserver-49894
Diffstat (limited to 'src/mongo/db/s/resharding/resharding_data_copy_util.h')
-rw-r--r--src/mongo/db/s/resharding/resharding_data_copy_util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/s/resharding/resharding_data_copy_util.h b/src/mongo/db/s/resharding/resharding_data_copy_util.h
index 3374b8c7228..59322a34f26 100644
--- a/src/mongo/db/s/resharding/resharding_data_copy_util.h
+++ b/src/mongo/db/s/resharding/resharding_data_copy_util.h
@@ -60,5 +60,7 @@ void ensureCollectionDropped(OperationContext* opCtx,
const NamespaceString& nss,
const boost::optional<CollectionUUID>& uuid = boost::none);
+Value findHighestInsertedId(OperationContext* opCtx, const CollectionPtr& collection);
+
} // namespace resharding::data_copy
} // namespace mongo