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

XMLWordPrintableJSON

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

      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
            Reporter:
            James Wahlin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: