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

Write test for a transaction that writes to a collection that is created concurrently

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.0.0, 4.1.1
    • Replication
    • None
    • Fully Compatible
    • v4.0
    • Repl 2018-05-21, Repl 2018-06-04, Repl 2018-06-18
    • 3

    Description

      We want to verify that transactions interact with collection creation operations correctly. To verify this, we should test the following case:

      1. A transaction writes to a collection C that doesn't exist. In a different session, collection C is then created. Verify that the transaction can then write to collection C and commit.
      2. A transactions writes to a collection C that exists. A client in a different session that tries to create C should fail.

      *Note: when writing these test cases, we should verify any behavior that differs from what is described above and make sure it matches the desired/expected behavior.

      Attachments

        Activity

          People

            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            william.schultz@mongodb.com William Schultz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: