From 3aa71ec3ef14d5354850e905600aa5cda2fcbba3 Mon Sep 17 00:00:00 2001 From: Jordi Serra Torrens Date: Tue, 23 Mar 2021 10:32:39 +0000 Subject: SERVER-54020: ShardInvalidatedForTargeting thrown by resharding's getDestinedRecipient() not being retried by mongos --- src/mongo/db/service_entry_point_common.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/mongo/db/service_entry_point_common.h') diff --git a/src/mongo/db/service_entry_point_common.h b/src/mongo/db/service_entry_point_common.h index d3edbacae12..9500752fd4a 100644 --- a/src/mongo/db/service_entry_point_common.h +++ b/src/mongo/db/service_entry_point_common.h @@ -90,6 +90,10 @@ struct ServiceEntryPointCommon { virtual bool refreshCollection(OperationContext* opCtx, const StaleConfigInfo& se) const noexcept = 0; + virtual bool refreshCatalogCache( + OperationContext* opCtx, const ShardCannotRefreshDueToLocksHeldInfo& refreshInfo) const + noexcept = 0; + virtual void advanceConfigOpTimeFromRequestMetadata(OperationContext* opCtx) const = 0; MONGO_WARN_UNUSED_RESULT_FUNCTION virtual std::unique_ptr -- cgit v1.2.1