|
Author:
{u'username': u'nathan-myers-mongo', u'name': u'Nathan Myers', u'email': u'nathan.myers@10gen.com'}
Message: SERVER-29619 Interrupt shard server catalog cache loader tasks on stepdown
Branch: master
https://github.com/mongodb/mongo/commit/98bb1900c5aa0c8f7ede0b9df201f9cd9b7c9da5
|
|
New plan is for ShardServerCatalogCacheLoader to keep its own registry of contexts, and register a callback to kill them.
|
|
This approach sounds reasonable to me. You will have to thread that flag through the ServiceContext::makeOperationContext() call.
|
|
Plan is to add a flag argument to the opctx constructor to indicate it should be interrupted when clients are interrupted, and make the catalog cache uses set the flag.
|
Generated at Thu Feb 08 04:21:22 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.