[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: |
|
||||
| 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 |