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

WriteBatchExecutor doesn't handle primary demotion when recovering from yield during inserts

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.6.0-rc1
    • Fix Version/s: 2.6.0-rc2
    • Component/s: Write Ops
    • Labels:
      None
    • Operating System:
      ALL

      Description

      Any time a thread acquires the write lock to perform a user operation on a non-local database, it needs to confirm that the node is primary. When WBE::execInserts does periodic yielding, it is not performing this check, leading to potential fatal errors.

        Attachments

          Activity

            People

            Assignee:
            schwerin Andy Schwerin
            Reporter:
            schwerin Andy Schwerin
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: