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

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.0, 4.1.1
    • Component/s: Replication
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.0
    • Sprint:
      Repl 2018-05-21, Repl 2018-06-04, Repl 2018-06-18
    • Story Points:
      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

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

              Dates

              Created:
              Updated:
              Resolved: