Use Number instead of NumberLong when indexing in checkWritesOfCommittedTxns

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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 (Inactive)
            Reporter:
            Jason Zhang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: