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

Rename collection errors due to "target namespace exists" after namespace was dropped in jstest

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Catalog and Routing
    • ALL

      As part of SERVER-84330, transactions_block_ddl.js was unblocked in sharded environments. In sharded environments the rename command here fails (and below in the replica set endpoint case across dbs) because the rename command issued fails NamespaceExists even though the collection is dropped before running the test and the previous call to 'testTimeout' shouldn't create it. Preliminary investigation is in the comments.

      To reproduce, unblock the rename on mongos and run the test with the suite sharded_jscore_txns. 

            Assignee:
            Unassigned Unassigned
            Reporter:
            kristina.znam@mongodb.com Kristina Znam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: