Skip to content
This repository was archived by the owner on Dec 16, 2022. It is now read-only.

backport mem leak fix from upstream#252

Open
tanjinx wants to merge 4 commits intomasterfrom
vstream-memleak-backport
Open

backport mem leak fix from upstream#252
tanjinx wants to merge 4 commits intomasterfrom
vstream-memleak-backport

Conversation

@tanjinx
Copy link
Collaborator

@tanjinx tanjinx commented Jul 14, 2022

Description

backport upstream fix vitessio#10571

Related Issue(s)

https://slack-pde.slack.com/archives/C01P84R7L02/p1657736244703949?thread_ts=1654116059.184499&cid=C01P84R7L02

Checklist

  • Tests were added or are not required
  • Documentation was added or is not required

Deployment Notes

@@ -565,6 +567,11 @@ func (vs *vstream) sendAll(sgtid *binlogdatapb.ShardGtid, eventss [][]*binlogdat
}
}
vs.eventCh <- events

Choose a reason for hiding this comment

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

This line should be dropped since we now send this in the select below

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

good catch, sorry about that.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants