|
Author:
{'name': 'Romans Kasperovics', 'email': 'romans.kasperovics@mongodb.com', 'username': 'romanskas'}
Message: SERVER-81062 Update cluster parameter cache before and after modifications
Cluster parameter values are cached on routers = mongoS and updated (pulled)
from the config-servers periodically by the 'ClusterServerParameterRefresher'
background job. This means, the new cluster parameter value will not be cached
immediately, but after some delay. This delay is problematic for the
'querySettings' cluster parameter which has read-modify-write updates, because
subsequent 'setQuerySettings' or 'removeQuerySettings' commands might have
a non-deterministic outcome. This change minimizes the delay by forcing
'ClusterServerParameterRefresher' iterations before and after the modification.
Branch: master
https://github.com/mongodb/mongo/commit/5fa345a76a56e50d1da4ed43d4c23a13a56d2475
|