Skip to content

Conversation

camshaft
Copy link
Contributor

@camshaft camshaft commented Mar 21, 2025

Description of changes:

As a followup to #2556 (comment), this changes the credential mapping from an LRU to a DashMap that preserves the association for the lifetime of the channel. This should avoid issues where the two get out of sync and end up trying to create a new stream only to get a replay detected error.

Testing:

I added a test showing that the association is preserved as long as one of the receivers is active. As soon as both are dropped, the association is removed.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@camshaft camshaft force-pushed the camshaft/dc-dispatch-key branch from 63e8a43 to f06b730 Compare March 21, 2025 23:29
@camshaft camshaft marked this pull request as ready for review March 21, 2025 23:32
@camshaft camshaft merged commit 324cf31 into main Mar 22, 2025
128 checks passed
@camshaft camshaft deleted the camshaft/dc-dispatch-key branch March 22, 2025 01:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants