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

Retry on Error/Fail #242

Open
ataft opened this issue Mar 29, 2024 · 1 comment
Open

Retry on Error/Fail #242

ataft opened this issue Mar 29, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@ataft
Copy link

ataft commented Mar 29, 2024

Is there any option to retry a replication stream if it fails? I'm working in an environment with flaky connectivity issues (Oracle Cloud DB) that somewhat randomly ends the connection. E.g. 5 out of my 80 streams will fail. I'd like to just say retry n times on fail rather than some more sophisticated orchestration. Is this a bad idea (i.e. is there a better approach)?

Or does Sling handle this automatically? I'm wondering if each error during iteration in nextFunc is a retry...

--------------------------- schema.tablename ---------------------------
~ execution failed



~ error during iteration in nextFunc
read tcp 1.2.3.4:41734->5.6.7.8:1521: i/o timeout

context canceled

~ error during iteration

~ error during iteration in nextFunc
read tcp 1.2.3.4:41734->5.6.7.8:1521: i/o timeout

context canceled

context canceled

~ error writing to s3

~ error during iteration in nextFunc
read tcp 1.2.3.4:41734->5.6.7.8:1521: i/o timeout

context canceled

~ error during iteration

~ error during iteration in nextFunc
read tcp 1.2.3.4:41734->5.6.7.8:1521: i/o timeout

context canceled


~ error during iteration in nextFunc
read tcp 1.2.3.4:41734->5.6.7.8:1521: i/o timeout

context canceled

~ error during iteration

~ error during iteration in nextFunc
read tcp 1.2.3.4:41734->5.6.7.8:1521: i/o timeout

context canceled

@flarco
Copy link
Collaborator

flarco commented Mar 29, 2024

Hi, error during iteration in nextFunc means error getting next record, so it's not a retry.

Retries are in the works. Will inform you when ready!

@flarco flarco added the enhancement New feature or request label Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants