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

Investigate if insert_id_undefined.js should not check whether the collection is created

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Catalog and Routing
    • ALL
    • 2

    Description

      According to SERVER-10518 in case of implicit creation of a document with `_id:undefined` we would experience a crash on secondaries. 
      The nsert_id_undefined.js attempts to test this case and verifies that
      1. The document is not created
      2. The collection is not created (implicit creation)

      However, in case of sharded collection, the collection would be created anyway so the test is automatically banned in every passthrough suite.

      This ticket is to investigate if point 2 is actually needed.
      This would allow to remove the tag `assumes_no_implicit_collection_creation_after_drop` which would enable the test in every suite and increate test coverage.

       

      Attachments

        Activity

          People

            backlog-server-catalog-and-routing Backlog - Catalog and Routing
            enrico.golfieri@mongodb.com Enrico Golfieri
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: