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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Works as Designed
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Sharding
    • ALL
    • 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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: