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

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.0.0, 4.1.1
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
      None
    • Fully Compatible
    • v4.0
    • Repl 2018-05-21, Repl 2018-06-04, Repl 2018-06-18
    • 3

      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.

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

              Created:
              Updated:
              Resolved: