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

Transaction history iterator shouldn't yield on next()

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.12
    • Affects Version/s: None
    • Component/s: Querying, Replication
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Query 2019-06-03
    • 17

      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.

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

              Created:
              Updated:
              Resolved: