Skip to content

Hold on to the bound configurations of the last few per-request configurations, not of every one - #309

Open
Mpdreamz wants to merge 2 commits into
mainfrom
fix/bound-configuration-cache
Open

Mpdreamz wants to merge 2 commits into
mainfrom
fix/bound-configuration-cache

Conversation

@Mpdreamz

@Mpdreamz Mpdreamz commented Dec 5, 2026

Copy link
Copy Markdown
Member

Why

Found by the 30 minute soak (#308): the server of the harness grew by 25–30 MB a minute. It is the transport. The bound configuration and pipeline of a per-request RequestConfiguration were cached in a ConditionalWeakTable, and a caller that passes a new RequestConfiguration on each request (the Elasticsearch client does so whenever a request has options) gives it one entry and one dependent handle per request. The table can only drop what the collector has found dead, and entries that lived through a few collections wait for a full collection, so the heap fills with them, and the table rebuilds a 512 KB array on the large object heap every ~20,000 requests.

In-process, 16 threads, workstation non-concurrent GC, new configuration for every call:

before after
heap at 48M calls 1.2 GB (working set 1.9 GB, still climbing) 2–7 MB (working set 72 MB, flat)
time for 16M calls 246 s 7.7 s
full collections at 48M calls 7 21

A full collection frees all of it, so it is not a leak, but a service at a high request rate waits minutes for one. A configuration that is shared (the same instance for every call) was and is flat at ~71 MB.

What

RecentValues<TKey, TValue> keeps the values of at most 32 keys, found by the reference of the key (a key replaces whichever one shares its slot). A configuration that is kept and passed again is bound once, as before; one that is new every time is not held on to. The same cache replaces the table for BoundConfiguration → pipeline. OnConfigurationBound fires on every request as before.

Tests

BoundConfigurationCacheTests: a configuration passed five times is bound once, and a configuration used once is collectable after 10,000 others. Both mutation-checked (a cache that holds everything fails the second, a cache that never hits fails the first). Transport, Properties and Integration suites pass on net10.0.

🤖 Generated with Claude Code

…gurations, not of every one

The bound configuration (and its pipeline) of a per-request RequestConfiguration was cached in a ConditionalWeakTable. A caller that
builds a new RequestConfiguration for each request, as the Elasticsearch client does whenever a request has options, filled the heap
with dead entries and their dependent handles: the table can only drop an entry the collector has found dead, and entries that lived
through a few collections wait for a full one. At 16 threads and 48 million calls the heap held 1.2 GB (1.9 GB working set) before the
first full collection freed it, and the table's lock made each call slow: 16 million calls took 246 s against 7.7 s now.

RecentValues keeps the values of at most 32 keys, found by the reference of the key, a new key replacing the one that shares its slot.
A configuration that is kept and passed again is still bound once; one that is new every time is not held on to.

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
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@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 main. ✅ 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