-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.4.4
-
Component/s: Operations
-
Environment:Windows 10
Hello,
First of all, I want to say sorry for my bad English.
I just set up a replica set containing three nodes and I wrote a code to test the downtime when one node gets down.
The console app starts running and suddenly I turned off the VPS that contains the primary node, after a while, another primary elected and compass connects again and starts working but my code stops working...! When I pause the visual studio it lights on the insert line. Actually, I think it hangs on insert line.
Should I do something to my code that it won't stop working after the primary goes down...!?
Here I attached my code.