Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-14469

Investigate changes in SERVER-56296: Uniform `fromNss == toNss` rename behavior between rs and sharded cluster

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 5.0.0-rc1, 5.1.0-rc0
    • Component/s: manual, Server
    • Labels:
      None

      Description

      Description

      Downstream Change Summary

      Just for the record, don't know if the corner case was taken into account previously.

      If a user tries to rename a collection to itself, starting from now an IllegalOperation is thrown. Before, a misleading NamespaceNotFound exception was thrown.

      Description of Linked Ticket

      If the collection exists, the collection version must be returned in a best-effort fashion, without acquiring any lock.

      If the collection exists but dropTarget=true, an `IllegalOptions` error must be returned.

      If the collection doesn't exist, a `NamespaceNotFound` error is already thrown both in case of RS or sharded cluster.

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              naomi.pentrel Naomi Pentrel
              Reporter:
              backlog-server-pm Backlog - Core Eng Program Management Team
              Participants:
              Last commenter:
              Naomi Pentrel Naomi Pentrel
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since reply:
                3 days ago
                Date of 1st Reply: