I am having a replica set includes (1 primary, 1 secondary and 1 recovering server), I am performing following on primary:
- All writes and reads are performing on and from primary.
Let's say we have one database consisting of 5 collections A, B, C, D and E
We are performing write (importing or upserting) on collection A, so does it will impact on other collections? Like does mongodb allow read operation to collection B and C at the same time?
- Or it will perform a Write lock to database level, so it will prevent other read operation also?
- List item The problem I am getting at present is, I am writing on collection A it will give timeouts to the other READ operation performing on other database?
Please provide a specification with example, it would be great help..