Skip to content

db: fix nil-pointer in external iterator range key iteration#1761

Merged
jbowens merged 1 commit intocockroachdb:masterfrom
jbowens:npe
Jun 13, 2022
Merged

db: fix nil-pointer in external iterator range key iteration#1761
jbowens merged 1 commit intocockroachdb:masterfrom
jbowens:npe

Conversation

@jbowens
Copy link
Copy Markdown
Contributor

@jbowens jbowens commented Jun 13, 2022

Fix a bug where the external iterator initialization failed to initialize the
base.Compare to sort overlapping range keys by suffix.

Fix #1760.

Fix a bug where the external iterator initialization failed to initialize the
base.Compare to sort overlapping range keys by suffix.

Fix cockroachdb#1760.
@jbowens jbowens requested review from a team and erikgrinaker June 13, 2022 14:05
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown
Contributor

@erikgrinaker erikgrinaker left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

Copy link
Copy Markdown
Contributor

@nicktrav nicktrav left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 4 of 4 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @jbowens)

Copy link
Copy Markdown
Contributor Author

@jbowens jbowens left a comment

Choose a reason for hiding this comment

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

TFTRs!

Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @jbowens)

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.

NPE with Iterator.SeekGE on stacked range keys via NewExternalIter

4 participants