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

The JournalFlusher is hitting WriteConflictExceptions thrown by EBUSY cursor errors caused by the validate cmd doing WT:verify on the same collection

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
      None
    • ALL
    • Execution Team 2020-05-18
    • 35

      The JournalFlusher is reading the oplog collection without any collection level locks, so it can run concurrently with a full:true validate command on the same collection. Opening a cursor while validate calls WT:verify will cause a WT EBUSY error, which MongoDB converts into a WriteConflictException. Query normally retries reads when given a WRITE_CONFLICT_RETRY_ONLY yield policy, but for some reason it gets to the retry code and finds a NO_YIELD policy.

      SERVER-47959 will temporarily resolve the test failures by retrying at a higher level, until this bug can be tracked down.

            Assignee:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Reporter:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: