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

Fix rtsink_conn ordset issue when we have a high skip count #6

Open
wants to merge 1 commit into
base: develop-2.2.8
Choose a base branch
from

Conversation

nsaadouni
Copy link
Collaborator

There is an issue whereby when we send an extremely high skip count from the rtsource -> rtsink processes. The rtsink process get's stuck in a loop attempting to insert a large number or elements into an ordset. Erlang's GC is constantly cleaning up the processes memory, and therefore it never completes the task.

The change prevents this from happening, by storing the skip count along side the sequence number and adding them together. Rather than adding N number of elements to an ordset.

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