[SERVER-55351] Rename must throw at the earliest stage if the target is a view Created: 19/Mar/21  Updated: 27/Oct/23  Resolved: 29/Mar/21

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

Type: Bug Priority: Major - P3
Reporter: Pierlauro Sciarelli Assignee: Pierlauro Sciarelli
Resolution: Works as Designed Votes: 0
Labels: PM-1965-Milestone-1
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Operating System: ALL
Participants:
Linked BF Score: 137

 Description   

Issuing a rename command with dropTarget=true - where the specified target is a view - can lead to a failures on the participant.

Implement a "not a view" check before issuing any command to the participants, so to avoid an unnecessary acquisition of the critical section.



 Comments   
Comment by Pierlauro Sciarelli [ 29/Mar/21 ]

Fix committed under SERVER-54605's part 1.

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