[SERVER-58794] _configsvrCreateDatabase and _flushDatabaseCacheUpdates should accept any API version parameters Created: 23/Jul/21  Updated: 29/Oct/23  Resolved: 27/Jul/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.0.2, 5.1.0-rc0

Type: Bug Priority: Blocker - P1
Reporter: Xuerui Fa Assignee: Xuerui Fa
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
is depended on by SERVER-58785 Unable to create a new collection on ... Closed
Related
related to SERVER-58785 Unable to create a new collection on ... Closed
related to SERVER-58893 Internal commands should skip API val... Closed
is related to SERVER-49858 Reconsider API parameters for config ... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v5.0
Sprint: Repl 2021-08-09
Participants:

 Description   

In SERVER-49858, we added a Command::acceptsAnyApiVersionParameters flag for internal commands, which indicates that the command should skip checking API parameters. We applied that flag to the internal commands _configsvrDropCollection and _configsvrDropDatabase. It seems we need to add this flag to other internal mongos commands as well, such as _configsvrCreateDatabase.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 27/Jul/21 ]

Author:

{'name': 'XueruiFa', 'email': 'xuerui.fa@mongodb.com', 'username': 'XueruiFa'}

Message: SERVER-58794: _configsvrCreateDatabase and _flushDatabaseCacheUpdates should accept any API version parameters

(cherry picked from commit 7cccaa4720c8ca16e7c8a35d325ea281fc1f9e2e)
Branch: v5.0
https://github.com/mongodb/mongo/commit/4145d1a30d7f340c9bbf4fe8924db14590738813

Comment by Githook User [ 27/Jul/21 ]

Author:

{'name': 'XueruiFa', 'email': 'xuerui.fa@mongodb.com', 'username': 'XueruiFa'}

Message: SERVER-58794: _configsvrCreateDatabase and _flushDatabaseCacheUpdates should accept any API version parameters
Branch: master
https://github.com/mongodb/mongo/commit/7cccaa4720c8ca16e7c8a35d325ea281fc1f9e2e

Generated at Thu Feb 08 05:45:27 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.