Skip to content

cdc: fix assignment to nil map panic in json encoder#88241

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
HonoreDB:fix_deletes_in_bare_envelope
Sep 20, 2022
Merged

cdc: fix assignment to nil map panic in json encoder#88241
craig[bot] merged 1 commit intocockroachdb:masterfrom
HonoreDB:fix_deletes_in_bare_envelope

Conversation

@HonoreDB
Copy link
Copy Markdown
Contributor

JSON encoding a delete message for a deleted row was panicking. This fixes that.

Release note (bug fix): Fixed a crash in changefeed expressions when JSON encoding an empty projection.

@HonoreDB HonoreDB requested a review from a team as a code owner September 20, 2022 15:14
@HonoreDB HonoreDB requested review from ajwerner and removed request for a team September 20, 2022 15:14
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@HonoreDB
Copy link
Copy Markdown
Contributor Author

This is probably not necessary if #88064 is merged.

JSON encoding a delete message for a deleted row was
panicking. This fixes that.

Release note (bug fix): Fixed a crash in changefeed expressions when JSON encoding an empty projection.
@HonoreDB HonoreDB force-pushed the fix_deletes_in_bare_envelope branch from cdf0dbf to 2fb46bf Compare September 20, 2022 16:39
@HonoreDB
Copy link
Copy Markdown
Contributor Author

bors r=[miretskiy]

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Sep 20, 2022

Build failed (retrying...):

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Sep 20, 2022

Build succeeded:

@craig craig bot merged commit 77c412d into cockroachdb:master Sep 20, 2022
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