System.ObjectDisposedException from load test across multiple requests
Description
Environment
Gerrit Reviews
Release Notes Description
Activity

Jeffry Morris December 3, 2019 at 3:28 AMEdited
Moving this ticket to 2.7.15 as their are still some build-bot issues associated with the commit:
Error Message:
TearDown : System.ObjectDisposedException : The CancellationTokenSource has been disposed.
Stack Trace:
--TearDown
at System.Threading.CancellationTokenSource.ThrowObjectDisposedException()
at System.Threading.CancellationTokenSource.Cancel(Boolean throwOnFirstException)
at Couchbase.Tracing.ThresholdLoggingTracer.Dispose() in /home/couchbase/jenkins/workspace/dotnet-sdk/couchbase-net-client-scripted-build-pipeline/couchbase-net-client/Src/Couchbase/Tracing/ThresholdLoggingTracer.cs:line 251
at Couchbase.Cluster.Dispose(Boolean disposing) in /home/couchbase/jenkins/workspace/dotnet-sdk/couchbase-net-client-scripted-build-pipeline/couchbase-net-client/Src/Couchbase/Cluster.cs:line 487
at Couchbase.Cluster.Dispose() in /home/couchbase/jenkins/workspace/dotnet-sdk/couchbase-net-client-scripted-build-pipeline/couchbase-net-client/Src/Couchbase/Cluster.cs:line 445
at Couchbase.ClusterHelper.Close() in /home/couchbase/jenkins/workspace/dotnet-sdk/couchbase-net-client-scripted-build-pipeline/couchbase-net-client/Src/Couchbase/ClusterHelper.cs:line 371
at Couchbase.UnitTests.ClusterHelperTests.TearDown() in /home/couchbase/jenkins/workspace/dotnet-sdk/couchbase-net-client-scripted-build-pipeline/couchbase-net-client/Src/Couchbase.UnitTests/ClusterHelperTests.cs:line 65
X Cluster_Uses_Provided_Authenticator_When_Passed_To_Initialize [2ms]
We'll need more time to get it merged.

Jeffry Morris December 3, 2019 at 2:44 AM
There are some some errors that build-bot has indicated; re-opening and assigning to myself to resolve.
Details
Assignee
Jeffry MorrisJeffry MorrisReporter
Matt IngenthronMatt IngenthronStory Points
1Affects versions
Priority
MajorInstabug
Open Instabug
Details
Details
Assignee

Reporter

Story Points
Affects versions
Priority
Instabug
PagerDuty
PagerDuty Incident
PagerDuty
PagerDuty Incident
PagerDuty

Sentry
Linked Issues
Sentry
Linked Issues
Sentry
Zendesk Support
Linked Tickets
Zendesk Support
Linked Tickets
Zendesk Support

Per discussion in forums, looks like we may need to manage concurrency with a collection a bit better in the threshold logging tracer: