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(tsi): close series id iterator after merging #20837

Merged
merged 2 commits into from
Mar 9, 2021

Conversation

danxmoran
Copy link
Contributor

Closes #20741

Backports #19936

@danxmoran danxmoran requested a review from psteinbachs March 2, 2021 17:32
Copy link
Contributor

@psteinbachs psteinbachs left a comment

Choose a reason for hiding this comment

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

Good to go.

foobar and others added 2 commits March 9, 2021 15:02
This use-after-free bug may lead to segfault. The iterators that have
reference to the underlying index files were closed too early while
the bitmaps were still used afterwards. If a compaction occurs
concurrently and removes the index files, it would result in accessing
unmap'd memory address.
@danxmoran danxmoran force-pushed the dm-backport-fix-use-after-free-20741 branch from 4c70dd3 to 98e7ec5 Compare March 9, 2021 20:03
@danxmoran danxmoran merged commit fc632ce into 2.0 Mar 9, 2021
@danxmoran danxmoran deleted the dm-backport-fix-use-after-free-20741 branch March 9, 2021 20:22
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.

3 participants