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

Secondary showing all queries waitingForLock = true intermittently once in a while

    XMLWordPrintableJSON

Details

    • Icon: Question Question
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 3.0.4
    • Replication
    • None

    Description

      Hi,

      We are using Mongo 3.0.4 with 3 member replica set in production. Our primary and one of the secondary is in one AWS zone(A) and other secondary is in different zone (B). All the queries have proper index and works fine otherwise. The problem is once in a while, we see high load on one of the secondary in B zone and when we check the currentOp, all the queries are waitingForLock : true. We are using read preference as "secondary preferred" in our application.

      After looking at different forums, is there a possibility that the replica worker thread is taking long time to sync and acquire the lock? Is there any issue with the particular version? Should we upgrade it to the latest version?

      Attachments

        Activity

          People

            Unassigned Unassigned
            sharma.vineet86 Vineet Sharma
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: