[SERVER-72361] Find chunks by uuid in `sharded_backup_restore_chunk_migrations_while_backup.js`` Created: 22/Dec/22  Updated: 29/Oct/23  Resolved: 31/Jan/23

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 6.3.0-rc0

Type: Bug Priority: Major - P3
Reporter: Pierlauro Sciarelli Assignee: Enrico Golfieri
Resolution: Fixed Votes: 0
Labels: sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding EMEA 2023-01-09, Sharding EMEA 2023-01-23, Sharding EMEA 2023-02-06
Participants:

 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})



 Comments   
Comment by Githook User [ 30/Jan/23 ]

Author:

{'name': 'Enrico Golfieri', 'email': 'enrico.golfieri@mongodb.com', 'username': 'enricogolfieri'}

Message: SERVER-72361 Find chunks by uuid in sharded_backup_restore_chunk_migrations_while_backup.js`
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/4e14c47e17f7d1d1c684bbd1a68b1056d2846e7e

Generated at Thu Feb 08 06:21:34 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.