diff options
author | David Storch <david.storch@mongodb.com> | 2020-11-04 17:07:16 -0500 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-11-06 14:24:00 +0000 |
commit | 5da1a52746a85a54b2809e8901da707a35d78e22 (patch) | |
tree | 0d9fff8f8cf02d0a688c6e8be2ff37a82042599e /src/mongo/db/query/query_knobs.idl | |
parent | a9386b0525171be6313d734a4b4241751a599341 (diff) | |
download | mongo-5da1a52746a85a54b2809e8901da707a35d78e22.tar.gz |
SERVER-51524 Rename internalQueryCacheSize to internalQueryCacheMaxEntriesPerCollection
Retains "internalQueryCacheSize" as a deprecated alias.
The new name better reflects the function of the parameter,
as it controls the number of cache entries allowed for each
collection's cache rather than the overall size of the cache
in bytes.
Diffstat (limited to 'src/mongo/db/query/query_knobs.idl')
-rw-r--r-- | src/mongo/db/query/query_knobs.idl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mongo/db/query/query_knobs.idl b/src/mongo/db/query/query_knobs.idl index b23967929b0..52651caa6f0 100644 --- a/src/mongo/db/query/query_knobs.idl +++ b/src/mongo/db/query/query_knobs.idl @@ -90,11 +90,12 @@ server_parameters: # Plan cache # - internalQueryCacheSize: + internalQueryCacheMaxEntriesPerCollection: description: "The maximum number of entries allowed in a given collection's plan cache." set_at: [ startup, runtime ] - cpp_varname: "internalQueryCacheSize" + cpp_varname: "internalQueryCacheMaxEntriesPerCollection" cpp_vartype: AtomicWord<int> + deprecated_name: "internalQueryCacheSize" default: 5000 validator: gte: 0 |