Skip to content

fix: resolve potential race condition by connecting transporter earlier#384

Open
DuckBoss wants to merge 1 commit intomainfrom
jajerome/yggd-race-cond-tests
Open

fix: resolve potential race condition by connecting transporter earlier#384
DuckBoss wants to merge 1 commit intomainfrom
jajerome/yggd-race-cond-tests

Conversation

@DuckBoss
Copy link
Collaborator

@DuckBoss DuckBoss commented Mar 5, 2026

This patch aims to resolve issues sending initial messages published by the dispatcher by reordering the client connection steps to make the transporter connect to the broker before the dispatcher goroutine attempts to publish the initial connection status message.

Resolves: CCT-2074

@DuckBoss DuckBoss force-pushed the jajerome/yggd-race-cond-tests branch from 3d55794 to 0a405d9 Compare March 6, 2026 14:36
@DuckBoss DuckBoss marked this pull request as ready for review March 6, 2026 14:43
This patch aims to resolve issues sending initial messages published
by the dispatcher by reordering the client connection steps to make
the transporter connect to the broker before the dispatcher
goroutine attempts to publish the initial connection status message.

Resolves: CCT-2074

Signed-off-by: Jason Jerome <jajerome@redhat.com>
@DuckBoss DuckBoss force-pushed the jajerome/yggd-race-cond-tests branch from 0a405d9 to 719d702 Compare March 6, 2026 14:44
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.

1 participant