Repository navigation
[10.x] fix(streaming): use a unique Event Hubs block pool ID - #11601
Merged
Merged
Conversation
Backport the implementation from dotnet#11592 to 10.x. (cherry picked from commit 7eb2730)
(cherry picked from commit 65628e0e5313b7c4e7892003b61183964d354d1e)
ReubenBond
force-pushed
the
rb-event-hubs-10x-backport
branch
from
October 27, 2026 21:17
bb180bb to
431af0c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backports #11592 to
10.x.Event Hubs buffer pools currently construct their monitor ID from
new Guid(), so separate factories for the same hub report the same block-pool identity. UseGuid.NewGuid()when each factory creates its shared buffer pool, giving each pool a distinct monitoring identity while retaining that identity across partitions and cache recreation.Includes
EventHubQueueCacheFactoryTests.CreateCache_UsesDistinctPoolIdsPerFactoryAndReusesIdAcrossPartitions, covering distinct IDs for two factories targeting the same hub, shared IDs across partitions and disposed/recreated caches, and exactly one pool-monitor creation per factory. Both changes apply unchanged from #11592.Microsoft Reviewers: Open in CodeFlow