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

Write without shard key with _id run incorrectly in concurrency_sharded_multi_stmt_txn

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Cluster Scalability
    • Fully Compatible
    • ALL

      In the reverted SERVER-85568 PR which caused BF-32046 and BF-32062, we start a new session from generateAndRunRandomUpdateOpWithId and deleteOneWithId in concurrency_sharded_multi_stmt_txn* suites which already runs the config data functions in a transaction session on the db object.

      We shouldn't create a new session if we are in a transaction.

            Assignee:
            abdul.qadeer@mongodb.com Abdul Qadeer
            Reporter:
            abdul.qadeer@mongodb.com Abdul Qadeer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: