elasticsearch icon indicating copy to clipboard operation
elasticsearch copied to clipboard

Ensure that mock transport does not swallow req

Open Tim-Brooks opened this issue 1 year ago • 1 comments

Currently it is possible for the MockTransportService distrupt behavior to swallow requests if either the connection is already closed (in which case response pruning has already occurred) or if the behavior is added after the clear callback has been triggered.

Tim-Brooks avatar May 15 '24 05:05 Tim-Brooks

Pinging @elastic/es-distributed (Team:Distributed)

elasticsearchmachine avatar May 15 '24 05:05 elasticsearchmachine

RefCounted instead?

That works. I made that change.

Tim-Brooks avatar May 15 '24 17:05 Tim-Brooks