[SERVER-57027] Fix calls to renameCollection shell helper containing full NS Created: 18/May/21  Updated: 29/Oct/23  Resolved: 19/May/21

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

Type: Bug Priority: Major - P3
Reporter: Pierlauro Sciarelli Assignee: Pierlauro Sciarelli
Resolution: Fixed Votes: 0
Labels: PM-1965-Milestone-1, post-rc0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding EMEA 2021-05-31
Participants:
Linked BF Score: 0

 Description   

The random DDL fsm is wrongly using the renameCollection shell helper: rename(a.b, a.c) results in a target collection named a.a.c instead of a.c.

As part of this ticket, fix the above mentioned problem and review all other usages.

 



 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 Pierlauro Sciarelli [ 19/May/21 ]

Closing because fixed under SERVER-56296, as the change depended on it (that's why it was previously reverted).

Comment by Githook User [ 18/May/21 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: Revert "SERVER-57027 Fix calls to renameCollection shell helper containing full NS"

This reverts commit 6aaf03fa58a9fc893a3d756247089e1f3f44df03.
Branch: v5.0
https://github.com/mongodb/mongo/commit/af26789cd61f2fee9bc0a60a1d071898b5dc9b77

Comment by Githook User [ 18/May/21 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: Revert "SERVER-57027 Fix calls to renameCollection shell helper containing full NS"

This reverts commit 6aaf03fa58a9fc893a3d756247089e1f3f44df03.
Branch: master
https://github.com/mongodb/mongo/commit/af26789cd61f2fee9bc0a60a1d071898b5dc9b77

Comment by Githook User [ 18/May/21 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-57027 Fix calls to renameCollection shell helper containing full NS
Branch: master
https://github.com/mongodb/mongo/commit/6aaf03fa58a9fc893a3d756247089e1f3f44df03

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