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

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

      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.

       

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

              Created:
              Updated: