Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-34370

Change commands to use AutoGetDb to get the database, triggering a DatabaseVersion check

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.7.3
    • Fix Version/s: 3.7.6
    • Component/s: Sharding
    • Labels:
      None

      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.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: