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: do not panic on cleaning up failed iterators (#21666) #21697

Merged
merged 2 commits into from
Jun 15, 2021

Conversation

davidby-influx
Copy link
Contributor

@davidby-influx davidby-influx commented Jun 15, 2021

We have seen occasional panics in Iterators.Close()
when cleaning up after failed iterator creation.
This commit checks for nil on any iterator to be
closed, and now returns any errors generated by
that Close().

Closes #19579
Closes #19476

(cherry picked from commit acc4105)

Closes #21667

We have seen occasional panics in Iterators.Close()
when cleaning up after failed iterator creation.
This commit checks for nil on any iterator to be
closed, and now returns any errors generated by
that Close().

Closes #19579
Closes #19476

(cherry picked from commit acc4105)
@davidby-influx davidby-influx requested a review from lesam June 15, 2021 19:05
@davidby-influx davidby-influx linked an issue Jun 15, 2021 that may be closed by this pull request
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.

Do not panic on cleaning up failed iterators [port to 1.9]
2 participants