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

Find chunks by uuid in `sharded_backup_restore_chunk_migrations_while_backup.js``

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • ALL
    • Sharding EMEA 2023-01-09, Sharding EMEA 2023-01-23, Sharding EMEA 2023-02-06

    Description

      The sharded_backup_restore_chunk_migrations_while_backup.js test is trying to retrieve config.chunks documents by specifying the ns field in the filter.

      As starting from v5.0 chunk entries are containing the collection UUID rather than the namespace, the following snippet must be adapted accordingly.

      FROM:

      mongos.getDB("config").chunks.find({ns: "test.continuous_writes_restored"})
      

      TO:

      mongos.getDB("config").chunks.find({uuid: collectionUUID})
      

      Attachments

        Activity

          People

            enrico.golfieri@mongodb.com Enrico Golfieri
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: