[SERVER-34370] Change commands to use AutoGetDb to get the database, triggering a DatabaseVersion check Created: 06/Apr/18  Updated: 29/Oct/23  Resolved: 18/Apr/18

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 3.7.3
Fix Version/s: 3.7.6

Type: Task Priority: Major - P3
Reporter: Blake Oler Assignee: Janna Golden
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-34922 mongofiles sharded cluster write conc... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2018-04-23
Participants:

 Description   

These commands currently don't use AutoGetDb but should:

  • copydb
  • createIndexes
  • delete
  • renameCollection
  • update

When they are changed to use AutoGetDb, database_and_shard_versioning_all_commands.js should be updated to reflect that the shard will now cache the DatabaseVersion.



 Comments   
Comment by Githook User [ 18/Apr/18 ]

Author:

{'email': 'golden.janna@gmail.com', 'name': 'jannaerin', 'username': 'jannaerin'}

Message: SERVER-34370 Change commands to use AutoGetDb to get database to trigger a DatabaseVersion check
Branch: master
https://github.com/mongodb/mongo/commit/d71d91cca86ac39b8964b442c41034599d3136ba

Comment by Janna Golden [ 12/Apr/18 ]

Code review url: https://mongodbcr.appspot.com/197430001/

Generated at Thu Feb 08 04:36:26 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.