-
Type: Bug
-
Resolution: Cannot Reproduce
-
Priority: Major - P3
-
None
-
Affects Version/s: 1.8.2
-
Component/s: None
-
Environment:Server farm mongodb, replicaset + shard version 2.4.6 (64bit 2008R2)
Client app is running on .NET Framweork 4.5
A SystemFileWatcher is running and delegate execution using reflection, the system perform multiple kind of actions,including data import into MongoDB since 2 years. The system suddenly start freezing when handling MongoDB import. This occurs after switching the project to .NET Framework 4.5 .
I never find any way to predict the freezing behavior and restarting the application allow to continue the processing.
Please find hereafter the failing code: no exception triggered, only apps freezing.
public bool Save(MongoCollection col, bool replace)
{
this.CountSet++;
if (Id == ObjectId.Empty)
else
{
if (replace)
{
using (var fs = new FileStream(LocalFilename,
FileMode.Open))
}
col.Save(this, WriteConcern.Acknowledged);
}
return true;
}
- related to
-
CSHARP-829 MongoCollection.FindAs hangs when Driver is under load
- Closed