diff options
author | Jordi Serra Torrens <jordi.serra-torrens@mongodb.com> | 2021-03-23 10:32:39 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-04-06 10:36:03 +0000 |
commit | 3aa71ec3ef14d5354850e905600aa5cda2fcbba3 (patch) | |
tree | c86e16a709aafbd65d47294b024d4f2ba209b377 /src/mongo/db/service_entry_point_common.h | |
parent | 9f32e927f98cea09100e10e7fd564df725a42deb (diff) | |
download | mongo-3aa71ec3ef14d5354850e905600aa5cda2fcbba3.tar.gz |
SERVER-54020: ShardInvalidatedForTargeting thrown by resharding's getDestinedRecipient() not being retried by mongos
Diffstat (limited to 'src/mongo/db/service_entry_point_common.h')
-rw-r--r-- | src/mongo/db/service_entry_point_common.h | 4 |
1 files changed, 4 insertions, 0 deletions
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<PolymorphicScoped> |