-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.4.3
-
Component/s: Connectivity
-
None
Hello,
Here is our problem. We found some problem record that from time to time cannot be pushed to MongoDB collection. We prepared a very simple test application that tries to insert this problem record 300 times to collection. Almost right after we start the app it hangs when we try to insert it to MongoDB and never comes back. Sometimes it hangs on the first attempt to write to the Mongo, sometimes after 10 or 20 successful iterations.
We run Mongo in Docker container and we start it with “docker run -it --name cvsp-mongo -p 27017:27017 mongo” command in Windows 10 Pro. In order to connect to Mongo from our app we use latest version of C# driver. If we try to install MongoDB locally (without Docker container) everything works as expected and we successful go through all 300 iterations.
We tried to activate MongoDB logs and change the verbosity level, but can’t see any relevant information in logs at all.
Could you take a look on our attached application and help us figure out what could be the problem?
- is duplicated by
-
CSHARP-1967 Error in adding of new items from .xml file using mongo as docker component
- Closed