Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow messages from slaves to be queued if master container not fully started #304

Merged
merged 2 commits into from
Feb 20, 2024

Conversation

mchitre
Copy link
Member

@mchitre mchitre commented Feb 19, 2024

We currently discard messages in a container if it is not fully started. In a master-slave scenario, either master or slave will discard messages sent by the other who starts first. The current situation is that slaves are inited and then master is marked as running. This causes very early messages in slave container (if it starts very quickly) to be discarded. This PR fixes the situation by allowing the master container to deliver the message to the agent, and having the agent queue it until it is ready to respond.

@mchitre mchitre requested a review from notthetup February 19, 2024 16:32
@mchitre mchitre self-assigned this Feb 19, 2024
@mchitre mchitre merged commit cea2ad8 into master Feb 20, 2024
2 checks passed
@mchitre mchitre deleted the fix-send-too-early branch February 20, 2024 02:01
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