From a76082905d63ac8aaaae25e5c76812e6edf9bc07 Mon Sep 17 00:00:00 2001 From: Nick Zolnierz Date: Tue, 10 Apr 2018 10:04:41 -0400 Subject: SERVER-32088: ChangeStream resumeAfter does not work on sharded collections if not all shards have chunks for the collection --- src/mongo/db/views/view_catalog.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mongo/db/views') diff --git a/src/mongo/db/views/view_catalog.cpp b/src/mongo/db/views/view_catalog.cpp index 16c660d8e5c..2b58246fa76 100644 --- a/src/mongo/db/views/view_catalog.cpp +++ b/src/mongo/db/views/view_catalog.cpp @@ -248,7 +248,8 @@ StatusWith> ViewCatalog::_validatePipeline_ // the Pipeline for validation here. We won't do anything with the // pipeline that will require a real implementation. std::make_shared(), - std::move(resolvedNamespaces)); + std::move(resolvedNamespaces), + boost::none); // Save this to a variable to avoid reading the atomic variable multiple times. auto currentFCV = serverGlobalParams.featureCompatibility.getVersion(); -- cgit v1.2.1