Skip to content

The request timeout also covers reading the body - #312

Open
Mpdreamz wants to merge 1 commit into
fix/body-read-failurefrom
fix/body-read-timeout
Open

Mpdreamz wants to merge 1 commit into
fix/body-read-failurefrom
fix/body-read-timeout

Conversation

@Mpdreamz

@Mpdreamz Mpdreamz commented Dec 5, 2026

Copy link
Copy Markdown
Member

Stacked on #310 (it uses that PR's handling of a failure while the body is read); retarget to main once #310 is merged.

Why

Found by the soak (#308): after the test killed a node, three calls were still waiting minutes later, in ContentLengthReadStream.ReadAsync under JsonResponseBuilder, far past the 60 s default RequestTimeout.

RequestTimeout is the HttpClient's Timeout, and with HttpCompletionOption.ResponseHeadersRead that ends when the headers are in. The body is read afterwards, by the response builder, with only the caller's token. So a node that sends the headers and then stalls (a half-open connection, a paused or overloaded node, a partition) keeps the call waiting for ever: no failure, no node marked dead, nothing to fail over from. Reproduced with a raw TCP node that sends the headers and 100 of 2000 bytes and then does nothing, RequestTimeout 500 ms: the call was still waiting after 8 s, while a node that never answers at all fails at 514 ms.

What

The body is read with a token linked to the caller's and cancelled after what is left of the request timeout (the timeout minus the time the headers took). A stalled body now fails the call with the cancellation, like one that does not answer: the node goes out of rotation and the request fails over (within MaxRetryTimeout, which defaults to the request timeout, so give the request more than one timeout's worth to fail over). Not for the response types that hand the stream to the caller (StreamResponse, pipes): they read it after the call, as before. A synchronous read has no token to cancel and is unchanged.

Cost: one linked token source and timer per async request: +168 B/request (+1.9%) and −0.8% throughput on a local loopback server (126.9k → 125.9k req/s, 8,921 → 9,089 B/req, two runs each, 64 workers).

Tests

BodyReadFailureTests: a node that stalls half way through the body returns the failure within the timeout (it waited 10 s and gave up before), and the request fails over to a healthy node with the stalled one out of rotation. Both fail without the timer on the read. Transport, Properties, Integration and Pipes suites pass on net10.0.

🤖 Generated with Claude Code

The timeout is the HttpClient's, which ends with the response headers (the body is read after, with ResponseHeadersRead). A node that
sent the headers and then stalled (a half-open connection, a node that is paused) kept the call waiting for ever: no failure, no node
marked dead, nothing to fail over from. The body is now read with a token that is cancelled when what is left of the request timeout
has gone, so such a node fails the call as one that does not answer does. A synchronous read has no token to cancel.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@Mpdreamz Mpdreamz added the bug Something did not work as documented (patch release) label Dec 5, 2026
@github-actions

github-actions Bot commented Dec 5, 2026

Copy link
Copy Markdown

API changes in this pull request: suggested version change None

Compared with the base branch fix/body-read-failure (#310). ✅ All good: this pull request does not change the public API.

  • ✅ Elastic.Transport.VirtualizedCluster: no changes
  • ✅ Elastic.Transport (net10.0, net11.0, net462, net8.0, netstandard2.0, netstandard2.1): no changes
Since the last release: Major, 42 breaking changes; for information, it does not fail this check

⚠️ 42 breaking changes.

Elastic.Transport.dll: Major, 28 breaking changes
  • 🌟 attribute System.Reflection.AssemblyMetadataAttribute::.ctor(System.String,System.String)
  • 🌟 attribute System.Reflection.AssemblyMetadataAttribute::.ctor(System.String,System.String)
  • 🌟 attribute System.Runtime.CompilerServices.InternalsVisibleToAttribute::.ctor(System.String)
  • 🔴 assemblyreference Microsoft.CSharp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
  • 🔴 assemblyreference mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
  • 🔴 assemblyreference System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
  • 🔴 assemblyreference System.Buffers, Version=4.0.5.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
  • 🔴 assemblyreference System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
  • 🔴 assemblyreference System.Diagnostics.DiagnosticSource, Version=10.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
  • 🔴 assemblyreference System.Memory, Version=4.0.5.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
  • 🔴 assemblyreference System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
  • 🔴 assemblyreference System.Text.Encodings.Web, Version=10.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
  • 🔴 assemblyreference System.Text.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
  • 🔴 assemblyreference System.Threading.Tasks.Extensions, Version=4.2.4.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
  • 🔴 assemblyreference System.ValueTuple, Version=4.0.5.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
  • 🔷 type Elastic.Transport.BoundConfiguration
    • 🌟 property MaxRetryTimeout
  • 🔷 type Elastic.Transport.DefaultMetaHeaderProducer
    • 🔷 method DefaultMetaHeaderProducer(VersionInfo, String)
      • 🔷 Member is less visible. 💥
  • 🔷 type Elastic.Transport.DefaultMetaHeaderProvider
    • 🔷 method DefaultMetaHeaderProvider(VersionInfo, String)
      • 🔷 Member is less visible. 💥
  • 🔷 type Elastic.Transport.Diagnostics.Auditing.Audit
    • 🌟 method <Clone>u0024()
    • 🌟 method Equals(Audit)
    • 🌟 method Equals(Object)
    • 🌟 method GetHashCode()
    • 🌟 method op_Equality(Audit, Audit)
    • 🌟 method op_Inequality(Audit, Audit)
  • 🔷 type Elastic.Transport.Diagnostics.OpenTelemetry
    • 🌟 field ElasticTransportMeterName
  • 🔴 type Elastic.Transport.DynamicDictionary 💥
  • 🔴 type Elastic.Transport.DynamicResponse 💥
  • 🔴 type Elastic.Transport.DynamicResponseBase 💥
  • 🔴 type Elastic.Transport.DynamicValue 💥
  • 🔷 type Elastic.Transport.ErrorCauseConverter<TErrorCause>
    • 🔷 method Read(Utf8JsonReader&, Type, JsonSerializerOptions)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
    • 🔷 method Write(Utf8JsonWriter, TErrorCause, JsonSerializerOptions)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
  • 🔷 type Elastic.Transport.ErrorConverter
    • 🔷 method ReadMore(Utf8JsonReader&, JsonSerializerOptions, String, Error)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
  • 🔷 type Elastic.Transport.Extensions.SemVersion
    • 🔷 Member is more visible.
  • 🔷 type Elastic.Transport.Extensions.TransportSerializerExtensions
    • 🔷 method Deserialize<T>(Serializer, ReadOnlySpan<Byte>, MemoryStreamFactory)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
    • 🔷 method Deserialize(Serializer, ReadOnlySpan<Byte>, Type, MemoryStreamFactory)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
    • 🔷 method Deserialize<T>(Serializer, ReadOnlySpan<Char>, MemoryStreamFactory)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
    • 🔷 method Deserialize(Serializer, ReadOnlySpan<Char>, Type, MemoryStreamFactory)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
    • 🔷 method Deserialize<T>(Serializer, String, MemoryStreamFactory)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
    • 🔷 method Deserialize(Serializer, String, Type, MemoryStreamFactory)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
    • 🔷 method Deserialize<T>(Serializer, JsonElement, MemoryStreamFactory)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
    • 🔷 method Deserialize(Serializer, JsonElement, Type, MemoryStreamFactory)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
    • 🔷 method Deserialize<T>(Serializer, JsonNode, MemoryStreamFactory)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
    • 🔷 method Deserialize(Serializer, JsonNode, Type, MemoryStreamFactory)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
    • 🔷 method Deserialize<T>(Serializer, Utf8JsonReader&, MemoryStreamFactory)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
    • 🔷 method Deserialize(Serializer, Utf8JsonReader&, Type, MemoryStreamFactory)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
    • 🔷 method Serialize(Serializer, Object, Type, Utf8JsonWriter, MemoryStreamFactory, SerializationFormatting)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
    • 🔷 method Serialize<T>(Serializer, T, Utf8JsonWriter, MemoryStreamFactory, SerializationFormatting)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
    • 🔷 method SerializeToBytes(Serializer, Object, Type, MemoryStreamFactory, SerializationFormatting)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
    • 🔷 method SerializeToBytes<T>(Serializer, T, MemoryStreamFactory, SerializationFormatting)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
    • 🔷 method SerializeToString(Serializer, Object, Type, MemoryStreamFactory, SerializationFormatting)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
    • 🔷 method SerializeToString<T>(Serializer, T, MemoryStreamFactory, SerializationFormatting)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
    • 🔷 method TryGetJsonSerializerOptions(Serializer, JsonSerializerOptions&, SerializationFormatting)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
  • 🔷 type Elastic.Transport.HttpRequestInvoker
    • 🌟 attribute System.Runtime.CompilerServices.NullableAttribute::.ctor(System.Byte)
    • 🌟 attribute System.Runtime.CompilerServices.NullableContextAttribute::.ctor(System.Byte)
    • 🌟 property InUseHandlers
    • 🌟 property RemovedHandlers
    • 🌟 property ResponseFactory
    • 🌟 method HttpRequestInvoker(Func<HttpMessageHandler, BoundConfiguration, HttpMessageHandler>)
    • 🌟 method CreateHttpClientHandler(BoundConfiguration)
    • 🌟 method Dispose()
    • 🌟 method DisposeManagedResources()
    • 🌟 method Request<TResponse>(Endpoint, BoundConfiguration, PostData)
    • 🌟 method RequestAsync<TResponse>(Endpoint, BoundConfiguration, PostData, CancellationToken)
  • 🔷 type Elastic.Transport.HttpWebRequestInvoker
    • 🌟 attribute System.ObsoleteAttribute::.ctor(System.String)
  • 🔷 type Elastic.Transport.IResponseBuilder
    • 🔷 method BuildAsync<TResponse>(ApiCallDetails, BoundConfiguration, Stream, String, Int64, CancellationToken)
      • 🔷 Member type changed from Task to ValueTask. 💥
  • 🔷 type Elastic.Transport.ITransportConfiguration
    • 🔷 property BootstrapLock
      • 🔴 attribute System.Runtime.CompilerServices.NullableAttribute::.ctor(System.Byte)
      • 🔷 method get
        • 🔴 attribute System.Runtime.CompilerServices.NullableContextAttribute::.ctor(System.Byte)
    • 🔷 property CertificateFingerprint
      • 🌟 attribute System.Runtime.CompilerServices.NullableAttribute::.ctor(System.Byte)
      • 🔷 method get
        • 🌟 attribute System.Runtime.CompilerServices.NullableContextAttribute::.ctor(System.Byte)
    • 🔷 property DateTimeProvider
      • 🌟 attribute System.Runtime.CompilerServices.NullableAttribute::.ctor(System.Byte)
      • 🔷 method get
        • 🌟 attribute System.Runtime.CompilerServices.NullableContextAttribute::.ctor(System.Byte)
    • 🔷 property MemoryStreamFactory
      • 🔴 attribute System.Runtime.CompilerServices.NullableAttribute::.ctor(System.Byte)
      • 🔷 method get
        • 🔴 attribute System.Runtime.CompilerServices.NullableContextAttribute::.ctor(System.Byte)
    • 🔷 property MetaHeaderProvider
      • 🌟 attribute System.Runtime.CompilerServices.NullableAttribute::.ctor(System.Byte)
      • 🔷 method get
        • 🌟 attribute System.Runtime.CompilerServices.NullableContextAttribute::.ctor(System.Byte)
    • 🔷 property NodePool
      • 🔴 attribute System.Runtime.CompilerServices.NullableAttribute::.ctor(System.Byte)
      • 🔷 method get
        • 🔴 attribute System.Runtime.CompilerServices.NullableContextAttribute::.ctor(System.Byte)
    • 🔴 property PipelineProvider 💥
    • 🔷 property ProductRegistration
      • 🔴 attribute System.Runtime.CompilerServices.NullableAttribute::.ctor(System.Byte)
      • 🔷 method get
        • 🔴 attribute System.Runtime.CompilerServices.NullableContextAttribute::.ctor(System.Byte)
    • 🔷 property ProxyAddress
      • 🌟 attribute System.Runtime.CompilerServices.NullableAttribute::.ctor(System.Byte)
      • 🔷 method get
        • 🌟 attribute System.Runtime.CompilerServices.NullableContextAttribute::.ctor(System.Byte)
    • 🔷 property ProxyPassword
      • 🌟 attribute System.Runtime.CompilerServices.NullableAttribute::.ctor(System.Byte)
      • 🔷 method get
        • 🌟 attribute System.Runtime.CompilerServices.NullableContextAttribute::.ctor(System.Byte)
    • 🔷 property ProxyUsername
      • 🌟 attribute System.Runtime.CompilerServices.NullableAttribute::.ctor(System.Byte)
      • 🔷 method get
        • 🌟 attribute System.Runtime.CompilerServices.NullableContextAttribute::.ctor(System.Byte)
    • 🔷 property QueryStringParameters
      • 🌟 attribute System.Runtime.CompilerServices.NullableAttribute::.ctor(System.Byte)
      • 🔷 method get
        • 🌟 attribute System.Runtime.CompilerServices.NullableContextAttribute::.ctor(System.Byte)
    • 🔷 property RequestInvoker
      • 🔴 attribute System.Runtime.CompilerServices.NullableAttribute::.ctor(System.Byte)
      • 🔷 method get
        • 🔴 attribute System.Runtime.CompilerServices.NullableContextAttribute::.ctor(System.Byte)
    • 🔷 property RequestResponseSerializer
      • 🔴 attribute System.Runtime.CompilerServices.NullableAttribute::.ctor(System.Byte)
      • 🔷 method get
        • 🔴 attribute System.Runtime.CompilerServices.NullableContextAttribute::.ctor(System.Byte)
    • 🔷 property SkipDeserializationForStatusCodes
      • 🌟 attribute System.Runtime.CompilerServices.NullableAttribute::.ctor(System.Byte)
      • 🔷 method get
        • 🌟 attribute System.Runtime.CompilerServices.NullableContextAttribute::.ctor(System.Byte)
    • 🔷 property StatusCodeToResponseSuccess
      • 🔴 attribute System.Runtime.CompilerServices.NullableAttribute::.ctor(System.Byte)
      • 🔷 method get
        • 🔴 attribute System.Runtime.CompilerServices.NullableContextAttribute::.ctor(System.Byte)
    • 🔷 property UrlFormatter
      • 🔴 attribute System.Runtime.CompilerServices.NullableAttribute::.ctor(System.Byte)
      • 🔷 method get
        • 🔴 attribute System.Runtime.CompilerServices.NullableContextAttribute::.ctor(System.Byte)
  • 🔷 type Elastic.Transport.MetaDataHeader
    • 🔷 method MetaDataHeader(VersionInfo, String, Boolean)
      • 🔷 Member is less visible. 💥
  • 🔷 type Elastic.Transport.Node
    • 🔷 property DeadUntil
      • 🔷 method get
        • 🔴 attribute System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor()
    • 🔷 property FailedAttempts
      • 🔷 method get
        • 🔴 attribute System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor()
    • 🔷 property IsAlive
      • 🔷 method get
        • 🔴 attribute System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor()
    • 🔷 property IsResurrected
      • 🔷 method get
        • 🔴 attribute System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor()
      • 🔴 method set 💥
  • 🌟 type Elastic.Transport.PipeResponse
  • 🌟 type Elastic.Transport.PipeResponseBase
  • 🔷 type Elastic.Transport.PostData
    • 🔷 method FinishStreamAsync(Stream, MemoryStream, Boolean, CancellationToken)
      • 🔷 Member type changed from Task to ValueTask. 💥
    • 🌟 method MultiJson<T>(IEnumerable<T>, JsonTypeInfo<T>)
    • 🌟 method PipeReader(PipeReader)
    • 🌟 method PipeWriter<T>(T, Func<T, PipeWriter, CancellationToken, Task>)
    • 🌟 method ReadOnlyMemory(ReadOnlyMemory<Byte>)
    • 🌟 method Serializable<T>(T, JsonTypeInfo<T>)
  • 🔷 type Elastic.Transport.PostType
    • 🌟 field Pipe
    • 🌟 field ReadOnlyMemory
  • 🔷 type Elastic.Transport.Products.Elasticsearch.ElasticsearchConfiguration
    • 🔷 method <Clone>u0024()
      • 🌟 attribute System.Runtime.CompilerServices.PreserveBaseOverridesAttribute::.ctor()
      • 🔷 Member type changed from TransportConfiguration to ElasticsearchConfiguration. 💥
  • 🔴 type Elastic.Transport.Products.Elasticsearch.ElasticsearchDynamicResponse 💥
  • 🌟 type Elastic.Transport.Products.Elasticsearch.ElasticsearchPipeResponse
  • 🔷 type Elastic.Transport.RecyclableMemoryStreamFactory
    • 🌟 field DefaultMaximumFreeBytes
    • 🌟 method RecyclableMemoryStreamFactory(Int32, Int64)
    • 🌟 method RecyclableMemoryStreamFactory(Int32)
  • 🔷 type Elastic.Transport.ReflectionVersionInfo
    • 🌟 property IsPrerelease
    • 🌟 property Major
    • 🌟 property Metadata
    • 🌟 property Minor
    • 🌟 property Patch
    • 🌟 property Prerelease
    • 🌟 method ToMetadataHeaderValue()
    • 🌟 method ToString()
  • 🔷 type Elastic.Transport.RequestPipeline
    • 🔷 Member is more visible.
    • 🔴 method CallProductEndpointAsync<TResponse>(Endpoint, BoundConfiguration, PostData, Auditor, CancellationToken) 💥
    • 🌟 method MoveNext(RequestAttempt, DateTimeOffset, Auditor)
    • 🔴 method NextNode(DateTimeOffset, Int32, Auditor) 💥
    • 🌟 method Sniff(Auditor, RequestAttempt)
    • 🔴 method Sniff(Auditor) 💥
    • 🌟 method SniffAsync(Auditor, RequestAttempt, CancellationToken)
    • 🔴 method SniffAsync(Auditor, CancellationToken) 💥
    • 🌟 method SniffOnConnectionFailure(Auditor, RequestAttempt)
    • 🔴 method SniffOnConnectionFailure(Auditor) 💥
    • 🌟 method SniffOnConnectionFailureAsync(Auditor, RequestAttempt, CancellationToken)
    • 🔴 method SniffOnConnectionFailureAsync(Auditor, CancellationToken) 💥
    • 🌟 method SniffOnStaleCluster(Auditor, RequestAttempt)
    • 🔴 method SniffOnStaleCluster(Auditor) 💥
    • 🌟 method SniffOnStaleClusterAsync(Auditor, RequestAttempt, CancellationToken)
    • 🔴 method SniffOnStaleClusterAsync(Auditor, CancellationToken) 💥
  • 🔷 type Elastic.Transport.RequestPipelineFactory
    • 🔷 Member is more visible.
  • 🔷 type Elastic.Transport.ResponseFactory
    • 🔷 method CreateAsync<TResponse>(Endpoint, BoundConfiguration, PostData, Exception, Nullable<Int32>, Dictionary<String, IEnumerable<String>>, Stream, String, Int64, IReadOnlyDictionary<String, ThreadPoolStatistics>, IReadOnlyDictionary<TcpState, Int32>, CancellationToken)
      • 🔷 Member type changed from Task to ValueTask. 💥
  • 🔷 type Elastic.Transport.SniffingNodePool
    • 🔴 method CreateView(Auditor) 💥
  • 🔷 type Elastic.Transport.StaticNodePool
    • 🔷 property InternalNodes
      • 🔷 method get
        • 🔴 attribute System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor()
      • 🔷 method set
        • 🔴 attribute System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor()
  • 🔷 type Elastic.Transport.SystemTextJsonSerializer
    • 🔷 method Deserialize<T>(Stream)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
    • 🔷 method Deserialize(Type, Stream)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
    • 🔷 method DeserializeAsync<T>(Stream, CancellationToken)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
    • 🔷 method DeserializeAsync(Type, Stream, CancellationToken)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
    • 🔷 method Serialize(Object, Type, Stream, SerializationFormatting, CancellationToken)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
    • 🔷 method Serialize<T>(T, Stream, SerializationFormatting)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
    • 🔷 method SerializeAsync(Object, Type, Stream, SerializationFormatting, CancellationToken)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
    • 🔷 method SerializeAsync<T>(T, Stream, SerializationFormatting, CancellationToken)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
      • 🌟 attribute System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute::.ctor(System.String,System.String)
  • 🔷 type Elastic.Transport.TransportConfiguration
    • 🔷 property PipelineProvider
      • 🔷 method get
        • 🔷 Member is less visible. 💥
        • 🔷 Method changed to non-virtual. 💥
      • 🔷 method set
        • 🔷 Member is less visible. 💥
  • 🔷 type Elastic.Transport.TransportConfigurationDescriptorBase<T>
    • 🔷 method PipelineProvider(RequestPipelineFactory)
      • 🔷 Member is less visible. 💥
  • 🔷 type Elastic.Transport.TypedResponseBuilder<TResponse>
    • 🔷 method BuildAsync(ApiCallDetails, BoundConfiguration, Stream, String, Int64, CancellationToken)
      • 🔷 Member type changed from Task to ValueTask. 💥
  • 🔷 type Elastic.Transport.VersionInfo
    • 🔷 Member is more visible.
Elastic.Transport.VirtualizedCluster.dll: Major, 14 breaking changes
  • 🔴 assemblyreference Elastic.Transport, Version=1.0.0.0, Culture=neutral, PublicKeyToken=069ca2728db333c1
  • 🔴 assemblyreference mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
  • 🔴 assemblyreference System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
  • 🔴 assemblyreference System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
  • 🔴 assemblyreference System.Diagnostics.DiagnosticSource, Version=10.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
  • 🔴 assemblyreference System.Memory, Version=4.0.5.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
  • 🔴 assemblyreference System.ValueTuple, Version=4.0.5.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
  • 🔷 type Elastic.Transport.VirtualizedCluster.Components.ExposingPipelineFactory<TConfiguration>
    • 🔷 Member is more visible.
  • 🔷 type Elastic.Transport.VirtualizedCluster.Rules.ClientCallRule
    • 🔴 method AfterSucceeds(RuleOption<Exception, Int32>) 💥
    • 🔴 method FailAlways(RuleOption<Exception, Int32>) 💥
    • 🌟 method FailAlways(Nullable<RuleOption<Exception, Int32>>)
    • 🔴 method Fails(RuleOption<AllTimes, Int32>, RuleOption<Exception, Int32>) 💥
    • 🌟 method Fails(RuleOption<AllTimes, Int32>, Nullable<RuleOption<Exception, Int32>>)
    • 🔴 method ThrowsAfterSucceeds() 💥
  • 🔷 type Elastic.Transport.VirtualizedCluster.Rules.IRule
    • 🔴 property AfterSucceeds 💥
    • 🔷 property Return
      • 🔷 Member type changed from RuleOption<Exception, Int32> to Nullable<RuleOption<Exception, Int32>>. 💥
  • 🔷 type Elastic.Transport.VirtualizedCluster.Rules.PingRule
    • 🔴 method FailAlways(RuleOption<Exception, Int32>) 💥
    • 🌟 method FailAlways(Nullable<RuleOption<Exception, Int32>>)
    • 🔴 method Fails(RuleOption<AllTimes, Int32>, RuleOption<Exception, Int32>) 💥
    • 🌟 method Fails(RuleOption<AllTimes, Int32>, Nullable<RuleOption<Exception, Int32>>)
  • 🔷 type Elastic.Transport.VirtualizedCluster.Rules.RuleOption<TFirst, TSecond>
    • 🌟 attribute System.Runtime.CompilerServices.UnionAttribute::.ctor()
    • 🌟 property Value
    • 🔷 method RuleOption(TFirst)
      • 🌟 attribute System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor()
      • 🔷 Parameter name changed from item to value. 💥
    • 🔷 method RuleOption(TSecond)
      • 🌟 attribute System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor()
      • 🔷 Parameter name changed from item to value. 💥
    • 🔴 method op_Implicit(TFirst) 💥
    • 🔴 method op_Implicit(TSecond) 💥
  • 🔷 type Elastic.Transport.VirtualizedCluster.Rules.SniffRule
    • 🔴 method FailAlways(RuleOption<Exception, Int32>) 💥
    • 🌟 method FailAlways(Nullable<RuleOption<Exception, Int32>>)
    • 🔴 method Fails(RuleOption<AllTimes, Int32>, RuleOption<Exception, Int32>) 💥
    • 🌟 method Fails(RuleOption<AllTimes, Int32>, Nullable<RuleOption<Exception, Int32>>)

Public API files

✅ The committed API files match the build (7 files).

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something did not work as documented (patch release)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant