[CSHARP-591] Replica set Azure Created: 05/Oct/12  Updated: 05/Apr/19  Resolved: 27/Nov/12

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: 1.6
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Roberto Assignee: Unassigned
Resolution: Done Votes: 0
Labels: question
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Azure



 Description   

Hi,

I have deployed mongodb using replica set on windows azure. I have 3 servers.

Everything is working until I stop one of the secondary servers for example. In this case the application is very very slow.

I think there is any timeout involved because when I start this server again everything is working normally.

I tried to use slaveOk=true and slaveOk=false and I got the same behavior.

Thanks.



 Comments   
Comment by Sridhar Nanjundeswaran [ 08/Oct/12 ]

Thanks Roberto. Can you send rs.status before you stop the secondary? Also can you paste a small test pgm or query/write snippet that I can use to try and reproduce. I have not see this before.

Comment by Roberto [ 06/Oct/12 ]

Hi,

1) Are you using the code from https://github.com/mongodb/mongo-azure for the Azure replica sets
I have included this code in our application.
2) Are you using the official 10gen supplied driver and if so what version?
Yes, I am using 1.6
3) What version of mongodb are you using?
2.2.0
4) How do you stop the secondaries?
I stop the server (worker role server).
5) Can you give a more concrete example of the slowdown. Is it a query or a write?
I deploy three servers with mongodb and the query is less than 1 second and inserting a new document the time is similar. If I stop a secondary server the query or write operation is always 21 second.

Thanks

Comment by Sridhar Nanjundeswaran [ 05/Oct/12 ]

Hi, A couple of quick questions
1) Are you using the code from https://github.com/mongodb/mongo-azure for the Azure replica sets
2) Are you using the official 10gen supplied driver and if so what version?
3) What version of mongodb are you using?
4) How do you stop the secondaries?
5) Can you give a more concrete example of the slowdown. Is it a query or a write?
Thanks

Generated at Wed Feb 07 21:37:16 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.