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

Use Number instead of NumberLong when indexing in checkWritesOfCommittedTxns

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 6.0.1, 4.4.16, 5.0.11, 6.1.0-rc0
    • None
    • None
    • Fully Compatible
    • v6.0, v5.3, v5.0, v4.4, v4.2
    • Sharding 2022-07-11

    Description

      Currently, in multi_statment_transaction_atomicity_isolation.js test, when we go to run checkWritesOfCommittedTxns, this comparison is done incorrectly due to the use of NumberLong to index within the updatedDocsServerHistory array instead of Numbers. The Javascript interpreter instead added the entries for the updatedDocsServerHistory as properties to the array object instead of objects in the array.

      Attachments

        Activity

          People

            jason.zhang@mongodb.com Jason Zhang
            jason.zhang@mongodb.com Jason Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: