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

multi-update gets stuck retrying after WriteConflict

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • 2.8.0-rc0
    • Concurrency
    • ALL

    Description

      We have a collection with 10 docs, and 2 client threads are operating on it. Each one is repeatedly doing a multi-update on all docs in the collection. The multi-update involves both normal indexes and multikey indexes.

      At some point, the server starts logging "[conn5] Got a WriteConflict in the middle of a multi-update, retrying the current doc" over and over, and the clients stop making progress.

      Attached are the server log and the backtraces of all threads after attaching gdb to the server.

      Attachments

        1. backtraces
          31 kB
        2. log
          80.78 MB

        Activity

          People

            kaloian.manassiev@mongodb.com Kaloian Manassiev
            david.percy@mongodb.com David Percy
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: