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-1857 Support for autorestart for embedded engine #1347

Merged
merged 3 commits into from
Mar 23, 2020

Conversation

jpechane
Copy link
Contributor

@jpechane jpechane commented Mar 17, 2020

Copy link
Member

@gunnarmorling gunnarmorling left a comment

Choose a reason for hiding this comment

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

@jpechane, thanks; a few questions inline.

@FixFor("DBZ-1857")
// The column used to kill connection is only supported since Postgres version 10
@SkipWhenDatabaseVersionLessThan(POSTGRES_10)
public void shouldRecoverFromRetriableException() throws Exception {
Copy link
Member

Choose a reason for hiding this comment

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

This test fails on CI.

@jpechane jpechane force-pushed the DBZ-1857 branch 3 times, most recently from ec5e07f to 520ec71 Compare March 23, 2020 10:38
// WorkerSourceTask calls us immediately after we return the empty list.
// This turns into a throttling so we need to make a pause before we return
// the control back.
Thread.sleep(PAUSE_WHEN_NOT_STARTED);
Copy link
Member

Choose a reason for hiding this comment

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

Should be Metronome#parker().

@gunnarmorling gunnarmorling merged commit 32b6a8c into debezium:master Mar 23, 2020
@gunnarmorling
Copy link
Member

Rebased and applied. Thanks, @jpechane.

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.

2 participants