Skip to content

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

Open
nsaadouni wants to merge 1 commit into
develop-2.2.8from
develop-2.2.8-fix-rtsink-ordset
Open

Fix rtsink_conn ordset issue when we have a high skip count#6
nsaadouni wants to merge 1 commit into
develop-2.2.8from
develop-2.2.8-fix-rtsink-ordset

Conversation

@nsaadouni

Copy link
Copy Markdown
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