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) #24846

Merged
merged 2 commits into from
Mar 26, 2024

Conversation

davidby-influx
Copy link
Contributor

@davidby-influx davidby-influx commented Mar 26, 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 [email protected]

(cherry picked from commit fe6c64b)

closes #24825

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 <[email protected]>

(cherry picked from commit fe6c64b)

closes #24836
Copy link
Contributor

@stuartcarnie stuartcarnie 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 49d0bef into main-2.x Mar 26, 2024
25 checks passed
@davidby-influx davidby-influx deleted the DSB_array_cursor branch March 26, 2024 21:55
davidby-influx added a commit that referenced this pull request Mar 27, 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 <[email protected]>

(cherry picked from commit fe6c64b)

closes #24836

(cherry picked from commit 49d0bef)

closes #24826
davidby-influx added a commit that referenced this pull request Mar 27, 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 <[email protected]>

(cherry picked from commit fe6c64b)

closes #24836

(cherry picked from commit 49d0bef)

closes #24826
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/tsm area/2.x OSS 2.0 related issues and PRs kind/bug team/edge
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 main-2.x]
2 participants