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

Cache is not fully cleared for the timeout event. #5720

Open
IvanChupin opened this issue Jul 31, 2024 · 0 comments
Open

Cache is not fully cleared for the timeout event. #5720

IvanChupin opened this issue Jul 31, 2024 · 0 comments
Labels

Comments

@IvanChupin
Copy link
Collaborator

For the org.openkilda.wfm.topology.switchmanager.service.impl.SpeakerWorkerService

There might be a case of timeout event so that handleTimeout() method is called.
And inside this method keyToRequest map is cleared properly, but chunkedMessageIdsPerRequest cache is not cleared.
So it might be a case where we are handling the chunked responses and in a half way though we might not fully receive the chunked chain of messages. In that case we expect to receive timeout event. This should lead to handleTimeout() method call, which should also clear chunkedMessageIdsPerRequest map.

Implement proper cache(chunkedMessageIdsPerRequest) removal for appropriate request key.

@IvanChupin IvanChupin added the bug label Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Backlog
Development

No branches or pull requests

1 participant