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

XMLWordPrintableJSON

    • Type: Question
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.0.4
    • Component/s: MMAPv1
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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 ?

            Assignee:
            Unassigned
            Reporter:
            Aayushi Mangal
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: