Skip to content

Remove handled fragmented messages from the map #571

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

Merged
merged 2 commits into from
Aug 17, 2020

Conversation

mdumandag
Copy link
Contributor

@mdumandag mdumandag commented Aug 12, 2020

Depends on #568 (because of CI build changes)

We should remove handled fragmented messages from fragmentedMessages
map to free it up. This PR includes this fix.

Also, FragmentedClientMessageHandlerTest is enhanced to check the
the map's size before and after merging and handling the
end fragment.

@puzpuzpuz
Copy link
Contributor

verify

Copy link
Contributor

@puzpuzpuz puzpuzpuz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice fix! 👍

We should remove handled fragmented messages from fragmentedMessages
map to free it up. This PR includes this fix.

Also, FragmentedClientMessageHandlerTest is enhanced to check the
the map's size before and after merging and handling the
end fragment.
@mdumandag mdumandag force-pushed the remove-fragmented-messages branch from 3db56dc to b2acfe2 Compare August 17, 2020 12:57
@mdumandag mdumandag merged commit 0e9ceb1 into hazelcast:master Aug 17, 2020
@mdumandag mdumandag deleted the remove-fragmented-messages branch August 17, 2020 14:27
@mdumandag
Copy link
Contributor Author

Thanks for the review Andrey, I am merging this.

harunalpak pushed a commit to harunalpak/hazelcast-nodejs-client that referenced this pull request Dec 8, 2022
* Remove handled fragmented messages from the map

We should remove handled fragmented messages from fragmentedMessages
map to free it up. This PR includes this fix.

Also, FragmentedClientMessageHandlerTest is enhanced to check the
the map's size before and after merging and handling the
end fragment.

* address review comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants