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

Transaction history iterator shouldn't yield on next()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.1.12
    • Querying, Replication
    • None
    • Fully Compatible
    • ALL
    • Query 2019-06-03
    • 17

    Description

      Transaction iterator is used in SyncTail::multiApply() to fetch the oplog chain of unprepared transactions. However yielding doesn't support PBWM lock, which is held by sync tail. We don't need yielding when reading transaction history since it's always a point query.

      Attachments

        Activity

          People

            justin.seyster@mongodb.com Justin Seyster
            siyuan.zhou@mongodb.com Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: