我们使用最新的2x MongoDB驱动程序(2.0.0-rc0)连接到MongoDB复制集(3.0.1)。 有时驱动程序会崩溃,并出现以下错误(在windows eventslogs中收到):
Source:ASP.NET 4.0.30319.0
An unhandled exception occurred and the process was terminated.
Application ID: /LM/W3SVC/6/ROOT/BACKEND_DEVELOP
Process ID: 2344
Exception: System.ObjectDisposedException
Message: Cannot access a disposed object.
Object name: 'ClusterableServer'.
StackTrace: at MongoDB.Driver.Core.Servers.ClusterableServer.ThrowIfDisposed()
at MongoDB.Driver.Core.Servers.ClusterableServer.RequestHeartbeat()
at MongoDB.Driver.Core.Clusters.MultiServerCluster.RequestHeartbeat()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.TimerQueueTimer.CallCallback()
at System.Threading.TimerQueueTimer.Fire()
at System.Threading.TimerQueue.FireNextTimers()
可能是什么问题?驱动程序中的问题?