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

Use Number instead of NumberLong when indexing in checkWritesOfCommittedTxns

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.1, 4.4.16, 5.0.11, 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • v6.0, v5.3, v5.0, v4.4, v4.2
    • Sharding 2022-07-11

      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.

            Assignee:
            jason.zhang@mongodb.com Jason Zhang (Inactive)
            Reporter:
            jason.zhang@mongodb.com Jason Zhang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: