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

$lookup/$graphLookup may leave open some transactions after commit/abort

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Cluster Scalability
    • ALL

      As part of the design for supporting additional transaction participants we agreed on leaving open transactions that would be reaped eventually.

      This is currently safe to do since these transactions are essentially read-only and do not affect correctness.

      However, this means we will unnecessarily hold some locks as part of the transaction that will only be released when we reap the leftover transaction. This also causes artificial delays if we want to perform any resharding/moveChunk operation since those will attempt to acquire with strong locks at one point or another.

            Assignee:
            Unassigned Unassigned
            Reporter:
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: