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

changefeedccl: Fix potential shutdown NPE #110773

Merged
merged 1 commit into from
Sep 18, 2023
Merged

Conversation

miretskiy
Copy link
Contributor

A flow may be cancelled immediately after it's created, before it has Started. If this happens, change aggregator may panic because certain state may not be initialized.

Fixes #110772

Release note: None

A flow may be cancelled immediately after it's created,
before it has `Start`ed.  If this happens, change aggregator
may panic because certain state may not be initialized.

Fixes cockroachdb#110772

Release note: None
@miretskiy miretskiy added backport-22.2.x backport-23.1.x Flags PRs that need to be backported to 23.1 labels Sep 16, 2023
@miretskiy miretskiy requested a review from a team as a code owner September 16, 2023 19:46
@miretskiy miretskiy requested review from jayshrivastava and removed request for a team September 16, 2023 19:46
@blathers-crl
Copy link

blathers-crl bot commented Sep 16, 2023

It looks like your PR touches production code but doesn't add or edit any test code. Did you consider adding tests to your PR?

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

@cockroach-teamcity
Copy link
Member

This change is Reviewable

@miretskiy
Copy link
Contributor Author

bors r+

@craig
Copy link
Contributor

craig bot commented Sep 18, 2023

Build succeeded:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-23.1.x Flags PRs that need to be backported to 23.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

changefeedccl: Test panic
3 participants