[
https://issues.apache.org/jira/browse/BEAM-12226?focusedWorklogId=589458&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-589458
]
ASF GitHub Bot logged work on BEAM-12226:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 26/Apr/21 21:16
Start Date: 26/Apr/21 21:16
Worklog Time Spent: 10m
Work Description: turb commented on pull request #14646:
URL: https://github.com/apache/beam/pull/14646#issuecomment-827152184
R: @aromanenko-dev
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 589458)
Time Spent: 20m (was: 10m)
> JdbcIO default retry strategy should retry on PostgreSQL deadlock
> -----------------------------------------------------------------
>
> Key: BEAM-12226
> URL: https://issues.apache.org/jira/browse/BEAM-12226
> Project: Beam
> Issue Type: Improvement
> Components: io-java-jdbc
> Affects Versions: 2.29.0
> Reporter: Sylvain VeyriƩ
> Priority: P2
> Time Spent: 20m
> Remaining Estimate: 0h
>
> The DefaultRetryStrategy on JdbcIO retries if the error code is 40001
> (deadlock detected).
> For some reason PostgreSQL uses code 40P01 instead (40001 being
> serialization_failure). [see PostgreSQL
> documentation|https://www.postgresql.org/docs/13/errcodes-appendix.html].
> It would be great if the DefaultRetryStrategy would return true ("please
> retry") with this specific additional code.
> (tested with 2.28.0 and 2.29.0 master)
> I can provide a PR.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)