Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

PatrickRen
Copy link
Contributor

This pull request fixes a bug in SchemaRegistryRequestHandler, which is caught here.

There might be a case that sink flushes faster than schema operator requesting release upstream. In that case waitFlushSuccess has not been set when sink has flushed successfully, which will lead to a NullPointerException.

Copy link
Contributor

@ruanhang1993 ruanhang1993 left a comment

Choose a reason for hiding this comment

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

startNextSchemaChangeRequest also need to be changed.

…ush.

There might be a case that sink flushes faster than schema operator requesting release upstream. In that case waitFlushSuccess has not been set when sink has flushed successfully, which will lead to a NullPointerException.
@PatrickRen PatrickRen force-pushed the fix-flush-faster-than-request-release branch from 934f2d3 to d8a6044 Compare December 4, 2023 06:22
Copy link
Contributor

@ruanhang1993 ruanhang1993 left a comment

Choose a reason for hiding this comment

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

LGTM.

@leonardBang leonardBang merged commit 9ce8450 into apache:master Dec 4, 2023
@leonardBang leonardBang added this to the V3.0.0 milestone Dec 4, 2023
ChaomingZhangCN pushed a commit to ChaomingZhangCN/flink-cdc that referenced this pull request Jan 13, 2025
…or to flush. (apache#2805)

This closes apache#2805.

There might be a case that sink flushes faster than schema operator requesting release upstream. In that case waitFlushSuccess has not been set when sink has flushed successfully, which will lead to a NullPointerException.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants