[
https://issues.apache.org/jira/browse/FLINK-22311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Roman Khachatryan resolved FLINK-22311.
---------------------------------------
Assignee: Alexander Fedulov
Resolution: Fixed
Merged into master as 7e43674abc2281af51ad83b2e3972f7ffb3d2c7b.
> Flink JDBC XA connector need to set maxRetries to 0 to properly working
> -----------------------------------------------------------------------
>
> Key: FLINK-22311
> URL: https://issues.apache.org/jira/browse/FLINK-22311
> Project: Flink
> Issue Type: Bug
> Components: Connectors / JDBC
> Affects Versions: 1.13.0
> Reporter: Maciej BryĆski
> Assignee: Alexander Fedulov
> Priority: Minor
> Labels: auto-deprioritized-major, pull-request-available
> Fix For: 1.15.0
>
>
> Hi,
> We're using XA connector from Flink 1.13 in one of our projects and we were
> able to create duplicates of records during write to Oracle.
> The reason was that default MAX_RETRIES in JdbcExecutionOptions is 3 and this
> can cause duplicates in DB.
> I think we should at least mention this in docs or even validate this option
> when creating XA Sink.
> In documentation we're using defaults.
> https://github.com/apache/flink/pull/10847/files#diff-a585e56c997756bb7517ebd2424e5fab5813cee67d8dee3eab6ddd0780aff627R88
--
This message was sent by Atlassian Jira
(v8.20.1#820001)