System.ObjectDisposedException from load test across multiple requests

Description

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

Environment

None

Gerrit Reviews

None

Release Notes Description

None

Activity

Jeffry Morris December 3, 2019 at 3:28 AM
Edited

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.

Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Story Points

Affects versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created November 25, 2019 at 10:16 PM
Updated March 9, 2022 at 5:07 PM
Instabug