Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-7395

FAQ comment on yielding and wt is incomplete

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None

    Description

      https://docs.mongodb.org/manual/faq/concurrency/#does-a-read-or-write-operation-ever-yield-the-lock

      For WT, as suggested by the comment there there is no need to yield in order to avoid holding locks for too long as with mmapv1. However we do yield periodically in order to avoid long-running WT transactions because a long-running transaction can potentially require holding a large amount of data in memory.

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            bruce.lucas@mongodb.com Bruce Lucas (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              5 years, 44 weeks, 6 days ago