diff options
author | Pierlauro Sciarelli <pierlauro.sciarelli@mongodb.com> | 2021-12-17 16:53:55 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-12-17 18:28:34 +0000 |
commit | f086caabba92a63a81403db4e139441d39a80451 (patch) | |
tree | 46fa2371db430265c7a4b3704f0c667b7ed8b200 /src/mongo/s/client/shard_registry.h | |
parent | 10b7a010f9bbef0ad818fa61cfa8268632e1d447 (diff) | |
download | mongo-f086caabba92a63a81403db4e139441d39a80451.tar.gz |
SERVER-61003 ReadConcernMajorityNotAvailableYet errors from ShardRegistry must be retried
Diffstat (limited to 'src/mongo/s/client/shard_registry.h')
-rw-r--r-- | src/mongo/s/client/shard_registry.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/s/client/shard_registry.h b/src/mongo/s/client/shard_registry.h index d4f98846d4a..fa241007731 100644 --- a/src/mongo/s/client/shard_registry.h +++ b/src/mongo/s/client/shard_registry.h @@ -440,6 +440,8 @@ private: void _periodicReload(const executor::TaskExecutor::CallbackArgs& cbArgs); + void _reloadInternal(OperationContext* opCtx); + /** * Factory to create shards. Never changed after startup so safe to access outside of _mutex. */ |