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

Getting timeout errors in Mongodb- While writing on primary to a single collection, does it provide write lock to the whole database

    XMLWordPrintableJSON

Details

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

    Description

      Would anybody please specify, I am writing to a collection in primary node, having following questions:

      1) Does it provide write lock to database level while writing to the primary collection?

      2) If write lock is there does it prevent any read operation?

      3) PLeas eexplain how concurrency work in Replica set, while inserting is performing on primary's single collection .

      4) Does one collection is affects persofmance of othe collection residing under same database ?

      Attachments

        Activity

          People

            Unassigned Unassigned
            mangal.aayushi3@gmail.com Aayushi Mangal
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: