Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
2.7.13
-
None
-
None
-
1
Description
Per discussion in forums, looks like we may need to manage concurrency with a collection a bit better in the threshold logging tracer:
System.ObjectDisposedException: The collection has been disposed. Object name: 'BlockingCollection'.
|
at System.Collections.Concurrent.BlockingCollection`1.CheckDisposed()
|
at System.Collections.Concurrent.BlockingCollection`1.TryAddWithNoTimeValidation(T item, Int32 millisecondsTimeout, CancellationToken cancellationToken)
|
at Couchbase.Tracing.ThresholdLoggingTracer.ReportSpan(Span span)
|
at OpenTracing.Util.AsyncLocalScope.Dispose()
|
at Couchbase.Core.Buckets.CouchbaseRequestExecuter.SendWithRetryAsync[T](IOperation`1 operation, TaskCompletionSource`1 tcs, CancellationTokenSource cts)
|
at Couchbase.CouchbaseBucket.InsertAsync[T](IDocument`1 document, TimeSpan timeout)
|
at Couchbase.CouchbaseBucket.InsertAsync[T](IDocument`1 document, TimeSpan timeout)
|