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

DBZ-604 Making sure connector cleanly shuts down also if records are … #687

Merged
merged 1 commit into from Nov 23, 2018

Conversation

gunnarmorling
Copy link
Member

…produced after polling loop has stopped

https://issues.jboss.org/projects/DBZ/issues/DBZ-604

@jpechane, can you check out this one?

@jpechane
Copy link
Contributor

@gunnarmorling Applied, thanks!

@gunnarmorling gunnarmorling deleted the DBZ-604 branch December 3, 2018 16:28
@gabrywu
Copy link

gabrywu commented Dec 17, 2018

Even if we clean the BlockingQueue,in some case before client disconnecting, the BlockingQueue still becomes full because of the enqueueRecord methord.

In our production ,the blocked still reprouce, but is a small probability event.
We fix it through the code

if( !stopping ){
                this.records.put(record);
            }else{
                logger.warn("Enqueue record while stopping: {}",record);
            }

https://issues.jboss.org/projects/DBZ/issues/DBZ-604

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants