Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-55351

Rename must throw at the earliest stage if the target is a view

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • ALL
    • 137

      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.

            Assignee:
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Reporter:
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: