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-5613 Wait before SQL server container is considered as started #653

Merged
merged 1 commit into from Sep 15, 2022

Conversation

vjuranek
Copy link
Member

We execute init script once the container is started, but started container may not be initialized yet and e.g. setting CDC for tables may fail with:

Cannot perform this operation while SQLServerAgent is starting. Try again later.

This happens especially in CI where the machines are slower. Add startup strategy to wait for 5 seconds until container is considered as started.

https://issues.redhat.com/browse/DBZ-5613

We execute init script once the container is started, but started
container may not be initialized yet and e.g. setting CDC for tables
may fail with:

    Cannot perform this operation while SQLServerAgent is starting. Try again later.

This happens especially in CI where the machines are slower.
Add startup strategy to wait for 5 seconds until container is considered
as started.
@vjuranek vjuranek marked this pull request as ready for review September 15, 2022 10:45
@jpechane jpechane merged commit ed14c05 into debezium:main Sep 15, 2022
@jpechane
Copy link
Contributor

@vjuranek Applied, thanks

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