Fix a race in the truncate marker testing.

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0, 8.2.13
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Engines - Server Integration
    • Fully Compatible
    • ALL
    • v8.2
    • SESISailing - 2025-12-09
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Some of the async oplog sampling testing (such as CursorYieldsAndIgnoresNewRecords) relies on locks contending. But there is a race as the MODE_IS lock doesn't contend with the MODE_IX lock. Changing the insertElements() function to perform inserts under a MODE_X lock will fix this.

            Assignee:
            Clarisse Cheah
            Reporter:
            Clarisse Cheah
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: