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

Correct time advancement in internal_transactions_unsharded.js

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Security
    • ALL
    • v7.0
    • Security 2024-09-16, Security 2024-09-30, Security 2024-10-14, Security 2024-10-28, Security 2024-11-11, Security 2024-11-25, Security 2024-12-09, Security 2024-12-23

      Bad IF statement in https://github.com/10gen/mongo/commit/92fa8926e2b284dfd18cc6b1e8d6e7b7a572c213#diff-f2786437dee7d72bd2a9cba127722adf12b017dc53ddf1d35daf229c9a015241R647

      should be

      if (s.getClusterTime() !== undefined)
      session.advanceClusterTime(s.getClusterTime());
      if (s.getOperationTime() !== undefined)
      session.advanceOperationTime(s.getOperationTime());

      credit to sara.golemon@mongodb.com for finding issue and ensuring this fix works

            Assignee:
            brad.moore@mongodb.com Brad Moore
            Reporter:
            brad.moore@mongodb.com Brad Moore
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: