NRE on OperationBuilderPool.Get() for NOOP

Description

Using the NBomber test referenced in , after updating to the latest CouchbaseNetClient master (as of 2022-03-17 1:51 PDT SHA = d0ff608524508e24c2cb0f08fd380d4c8101137d), long runs of the tool will hit an NRE at 

 

in OperationBase.cs: SendAsync()

 

This implies that OperationConfiguration.Configure() is being called in a thread-unsafe way without proper synchronization.

Environment

None

Gerrit Reviews

None

Release Notes Description

None

Activity

Show:

Jeffry Morris April 22, 2022 at 1:37 AM

This is caused when the circuit breaker is in the half open state and a NOOP is sent as a canary; the OperationBuilder is not set and is thus null causing the NRE in SendAsync.

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

Details

Assignee

Reporter

Story Points

Fix versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created March 17, 2022 at 8:53 PM
Updated April 22, 2022 at 11:06 PM
Resolved April 22, 2022 at 1:39 AM
Instabug