[SERVER-78217] Renaming view return wrong error on sharded cluster (2nd attempt) Created: 19/Jun/23 Updated: 29/Oct/23 Resolved: 17/Jul/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 7.1.0-rc0, 6.0.6, 5.0.18, 7.0.0-rc4 |
| Fix Version/s: | 7.1.0-rc0, 7.0.0-rc8, 6.0.9, 7.0.2, 5.0.22 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Tommaso Tocci | Assignee: | Enrico Golfieri |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Assigned Teams: |
Sharding EMEA
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||
| Backport Requested: |
v7.0, v6.0, v5.0
|
||||||||||||||||||||
| Sprint: | Sharding EMEA 2023-06-26, Sharding EMEA 2023-07-10, Sharding EMEA 2023-07-24 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Linked BF Score: | 35 | ||||||||||||||||||||
| Description |
|
In In particular in sharded clusters renaming a collection to a namespace for which already exists a view should return NamespaceExists instead of CommandNotSupportedOnView. Moreover test cases for this should be placed in a core test rather than sharding/rename.js since the bheaviour should be exactly the same between replicaset and sharded cluster. |
| Comments |
| Comment by Githook User [ 06/Sep/23 ] |
|
Author: {'name': 'Enrico', 'email': 'enrico.golfieri@mongodb.com', 'username': 'enricogolfieri'}Message: |
| Comment by Githook User [ 23/Aug/23 ] |
|
Author: {'name': 'Enrico', 'email': 'enrico.golfieri@mongodb.com', 'username': 'enricogolfieri'}Message: (cherry-picked from commit 86118cef805f882dc5442b2a7928367efadebeaa) |
| Comment by Githook User [ 22/Aug/23 ] |
|
Author: {'name': 'Enrico', 'email': 'enrico.golfieri@mongodb.com', 'username': 'enricogolfieri'}Message: Revert " |
| Comment by Githook User [ 17/Aug/23 ] |
|
Author: {'name': 'Enrico', 'email': 'enrico.golfieri@mongodb.com', 'username': 'enricogolfieri'}Message: |
| Comment by Githook User [ 27/Jul/23 ] |
|
Author: {'name': 'Enrico', 'email': 'enrico.golfieri@mongodb.com', 'username': 'enricogolfieri'}Message: |
| Comment by Githook User [ 17/Jul/23 ] |
|
Author: {'name': 'Enrico', 'email': 'enrico.golfieri@mongodb.com', 'username': 'enricogolfieri'}Message: |
| Comment by Githook User [ 17/Jul/23 ] |
|
Author: {'name': 'Enrico', 'email': 'enrico.golfieri@mongodb.com', 'username': 'enricogolfieri'}Message: |
| Comment by Githook User [ 13/Jul/23 ] |
|
Author: {'name': 'Sviatlana Zuiko', 'email': 'sviatlana.zuiko@mongodb.com', 'username': 'szuiko'}Message: Revert " This reverts commit 86118cef805f882dc5442b2a7928367efadebeaa. |
| Comment by Githook User [ 12/Jul/23 ] |
|
Author: {'name': 'Enrico', 'email': 'enrico.golfieri@mongodb.com', 'username': 'enricogolfieri'}Message: |