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

Use w:majority for transactions_profiling.js pre-transaction inserts

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: 4.9.0
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • 20

      We should consolidate the following block into a single write operation and execute at w:majority write concern: https://github.com/mongodb/mongo/blob/9b5abca8dcb53f165a8df60a4faaad1586e1be04/jstests/core/txns/transactions_profiling.js#L23-L32

      Otherwise, it is possible that the transaction we open on line 35 will choose a point of time that does not reflect all writes.

            Assignee:
            james.wahlin@mongodb.com James Wahlin
            Reporter:
            james.wahlin@mongodb.com James Wahlin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: