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: return and respect cursor errors (#24791) #24894

Merged
merged 1 commit into from
Apr 8, 2024

Conversation

davidby-influx
Copy link
Contributor

@davidby-influx davidby-influx commented Apr 5, 2024

ArrayCursors were ignoring errors, which led to panics when nil cursors were operated on. This fix passes errors back up the stack and uses them to enforce healthy cursor creation.

Closes #24789

Co-authored-by: Stuart Carnie stuart.carnie@gmail.com

(cherry picked from commit fe6c64b)

closes #24824

ArrayCursors were ignoring errors, which led to panics when nil
cursors were operated on. This fix passes errors back up the stack
and uses them to enforce healthy cursor creation.

Closes #24789
---------
Co-authored-by: Stuart Carnie <stuart.carnie@gmail.com>

(cherry picked from commit fe6c64b)

closes #24824
Copy link
Member

@gwossum gwossum left a comment

Choose a reason for hiding this comment

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

LGTM

@davidby-influx davidby-influx merged commit 727eb09 into 1.11 Apr 8, 2024
10 checks passed
@davidby-influx davidby-influx deleted the DSB_array_curs_1.11 branch April 8, 2024 20:58
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.

[1.x,2.x] Respect errors in array cursors - TSM cleanup [Port to 1.11]
2 participants