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

multi-update gets stuck retrying after WriteConflict

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.8.0-rc0
    • Component/s: Concurrency
    • Labels:
    • ALL

      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.

        1. backtraces
          31 kB
        2. log
          80.78 MB

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

              Created:
              Updated:
              Resolved: