Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-2194

System.ObjectDisposedException from load test across multiple requests

    XMLWordPrintable

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)
      

      Attachments

        For Gerrit Dashboard: NCBC-2194
        # Subject Branch Project Status CR V

        Activity

          People

            jmorris Jeff Morris
            ingenthr Matt Ingenthron
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty