Skip to content

PLUGIN-1823: Retrying all SQLTransientExceptions #597

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

Open
wants to merge 25 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
ac813f0
PLUGIN-1823: Retrying all SQLTransientExceptions
psainics May 19, 2025
8b1f12c
PLUGIN-1823: Rework
sgarg-CS May 30, 2025
d0c15c0
Fix unit test for MySQLSinkTest
sgarg-CS Jun 2, 2025
ad6b3fe
Fix failing unit test for CloudSQLMySQLTest
sgarg-CS Jun 2, 2025
ff0cd0b
PLUGIN-1823: Rework
sgarg-CS Jun 3, 2025
fc78d9c
Removed unused method and extra line
sgarg-CS Jun 3, 2025
61232a4
PLUGIN-1823: Fix failing unit tests
sgarg-CS Jun 4, 2025
6d4f62d
PLUGIN-1823: Revert changes done to FailedConnectionTest.java
sgarg-CS Jun 4, 2025
037a0d4
PLUGIN-1823: Rework
sgarg-CS Jun 5, 2025
a2bd3a9
PLUGIN-1823: Revert SQLException handling changes for validateSchema
sgarg-CS Jun 5, 2025
35537d7
PLUGIN-1823: Add default value for external documentation
sgarg-CS Jun 5, 2025
b41551c
error messages changes
itsmekumari Jun 19, 2025
ba524f8
cloudsqlmysql changes
itsmekumari Jun 20, 2025
2d59b51
mysql changes
itsmekumari Jun 20, 2025
c31c021
mssql changes
itsmekumari Jun 23, 2025
852bcba
cloudsqlpostgresql changes
itsmekumari Jun 24, 2025
1eba47c
PLUGIN-1823: Rework
sgarg-CS Jun 24, 2025
5ef4f15
PLUGIN-1823: Create object only once.
sgarg-CS Jun 25, 2025
4970405
PLUGIN-1823: Remove instance variables from sub-class and change retu…
sgarg-CS Jun 26, 2025
7c8815d
PLUGIN-1823: Remove getExternalDocumentationLink() method as it is no…
sgarg-CS Jun 26, 2025
0b57ce6
PLUGIN-1823: Removed empty lines
sgarg-CS Jun 26, 2025
26efc64
new error messages fix
itsmekumari Jul 3, 2025
74ce49b
oracle msg update
itsmekumari Jul 7, 2025
172e9bd
oracle msg new update
itsmekumari Jul 8, 2025
0e9b88e
test error msg
itsmekumari Jul 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ public class RedshiftConnectorUnitTest {
@Rule
public ExpectedException expectedEx = ExpectedException.none();

private static final RedshiftConnector CONNECTOR = new RedshiftConnector(null);
private static final RedshiftConnector CONNECTOR = new RedshiftConnector(new RedshiftConnectorConfig(
"username", "password", "jdbc", "", "localhost",
"db", 5432));

/**
* Unit test for getTableName()
Expand Down
33 changes: 32 additions & 1 deletion amazon-redshift-plugin/widgets/Redshift-batchsource.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,37 @@
}
}
]
},
{
"properties": [
{
"widget-type": "hidden",
"label": "Initial Retry Duration (sec)",
"name": "initialRetryDuration",
"widget-attributes": {
"default": 5,
"minimum": 0
}
},
{
"widget-type": "hidden",
"label": "Maximum Retry Duration (sec)",
"name": "maxRetryDuration",
"widget-attributes": {
"default": 80,
"minimum": 0
}
},
{
"widget-type": "hidden",
"label": "Maximum Retry Count",
"name": "maxRetryCount",
"widget-attributes": {
"default": 5,
"minimum": 0
}
}
]
}
],
"outputs": [
Expand Down Expand Up @@ -228,7 +259,7 @@
"name": "connection"
}
]
},
}
],
"jump-config": {
"datasets": [
Expand Down
31 changes: 31 additions & 0 deletions amazon-redshift-plugin/widgets/Redshift-connector.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,37 @@
}
}
]
},
{
"properties": [
{
"widget-type": "hidden",
"label": "Initial Retry Duration (sec)",
"name": "initialRetryDuration",
"widget-attributes": {
"default": 5,
"minimum": 0
}
},
{
"widget-type": "hidden",
"label": "Maximum Retry Duration (sec)",
"name": "maxRetryDuration",
"widget-attributes": {
"default": 80,
"minimum": 0
}
},
{
"widget-type": "hidden",
"label": "Maximum Retry Count",
"name": "maxRetryCount",
"widget-attributes": {
"default": 5,
"minimum": 0
}
}
]
}
],
"outputs": []
Expand Down
31 changes: 31 additions & 0 deletions aurora-mysql-plugin/widgets/AuroraMysql-action.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,37 @@
}
}
]
},
{
"properties": [
{
"widget-type": "hidden",
"label": "Initial Retry Duration (sec)",
"name": "initialRetryDuration",
"widget-attributes": {
"default": 5,
"minimum": 0
}
},
{
"widget-type": "hidden",
"label": "Maximum Retry Duration (sec)",
"name": "maxRetryDuration",
"widget-attributes": {
"default": 80,
"minimum": 0
}
},
{
"widget-type": "hidden",
"label": "Maximum Retry Count",
"name": "maxRetryCount",
"widget-attributes": {
"default": 5,
"minimum": 0
}
}
]
}
]
}
31 changes: 31 additions & 0 deletions aurora-mysql-plugin/widgets/AuroraMysql-batchsink.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,37 @@
}
}
]
},
{
"properties": [
{
"widget-type": "hidden",
"label": "Initial Retry Duration (sec)",
"name": "initialRetryDuration",
"widget-attributes": {
"default": 5,
"minimum": 0
}
},
{
"widget-type": "hidden",
"label": "Maximum Retry Duration (sec)",
"name": "maxRetryDuration",
"widget-attributes": {
"default": 80,
"minimum": 0
}
},
{
"widget-type": "hidden",
"label": "Maximum Retry Count",
"name": "maxRetryCount",
"widget-attributes": {
"default": 5,
"minimum": 0
}
}
]
}
],
"outputs": [],
Expand Down
31 changes: 31 additions & 0 deletions aurora-mysql-plugin/widgets/AuroraMysql-batchsource.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,37 @@
}
}
]
},
{
"properties": [
{
"widget-type": "hidden",
"label": "Initial Retry Duration (sec)",
"name": "initialRetryDuration",
"widget-attributes": {
"default": 5,
"minimum": 0
}
},
{
"widget-type": "hidden",
"label": "Maximum Retry Duration (sec)",
"name": "maxRetryDuration",
"widget-attributes": {
"default": 80,
"minimum": 0
}
},
{
"widget-type": "hidden",
"label": "Maximum Retry Count",
"name": "maxRetryCount",
"widget-attributes": {
"default": 5,
"minimum": 0
}
}
]
}
],
"outputs": [
Expand Down
31 changes: 31 additions & 0 deletions aurora-mysql-plugin/widgets/AuroraMysql-postaction.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,37 @@
}
}
]
},
{
"properties": [
{
"widget-type": "hidden",
"label": "Initial Retry Duration (sec)",
"name": "initialRetryDuration",
"widget-attributes": {
"default": 5,
"minimum": 0
}
},
{
"widget-type": "hidden",
"label": "Maximum Retry Duration (sec)",
"name": "maxRetryDuration",
"widget-attributes": {
"default": 80,
"minimum": 0
}
},
{
"widget-type": "hidden",
"label": "Maximum Retry Count",
"name": "maxRetryCount",
"widget-attributes": {
"default": 5,
"minimum": 0
}
}
]
}
]
}
31 changes: 31 additions & 0 deletions aurora-postgresql-plugin/widgets/AuroraPostgres-action.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,37 @@
}
}
]
},
{
"properties": [
{
"widget-type": "hidden",
"label": "Initial Retry Duration (sec)",
"name": "initialRetryDuration",
"widget-attributes": {
"default": 5,
"minimum": 0
}
},
{
"widget-type": "hidden",
"label": "Maximum Retry Duration (sec)",
"name": "maxRetryDuration",
"widget-attributes": {
"default": 80,
"minimum": 0
}
},
{
"widget-type": "hidden",
"label": "Maximum Retry Count",
"name": "maxRetryCount",
"widget-attributes": {
"default": 5,
"minimum": 0
}
}
]
}
]
}
31 changes: 31 additions & 0 deletions aurora-postgresql-plugin/widgets/AuroraPostgres-batchsink.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,37 @@
}
}
]
},
{
"properties": [
{
"widget-type": "hidden",
"label": "Initial Retry Duration (sec)",
"name": "initialRetryDuration",
"widget-attributes": {
"default": 5,
"minimum": 0
}
},
{
"widget-type": "hidden",
"label": "Maximum Retry Duration (sec)",
"name": "maxRetryDuration",
"widget-attributes": {
"default": 80,
"minimum": 0
}
},
{
"widget-type": "hidden",
"label": "Maximum Retry Count",
"name": "maxRetryCount",
"widget-attributes": {
"default": 5,
"minimum": 0
}
}
]
}
],
"outputs": [],
Expand Down
31 changes: 31 additions & 0 deletions aurora-postgresql-plugin/widgets/AuroraPostgres-batchsource.json
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,37 @@
}
}
]
},
{
"properties": [
{
"widget-type": "hidden",
"label": "Initial Retry Duration (sec)",
"name": "initialRetryDuration",
"widget-attributes": {
"default": 5,
"minimum": 0
}
},
{
"widget-type": "hidden",
"label": "Maximum Retry Duration (sec)",
"name": "maxRetryDuration",
"widget-attributes": {
"default": 80,
"minimum": 0
}
},
{
"widget-type": "hidden",
"label": "Maximum Retry Count",
"name": "maxRetryCount",
"widget-attributes": {
"default": 5,
"minimum": 0
}
}
]
}
],
"outputs": [
Expand Down
31 changes: 31 additions & 0 deletions aurora-postgresql-plugin/widgets/AuroraPostgres-postaction.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,37 @@
}
}
]
},
{
"properties": [
{
"widget-type": "hidden",
"label": "Initial Retry Duration (sec)",
"name": "initialRetryDuration",
"widget-attributes": {
"default": 5,
"minimum": 0
}
},
{
"widget-type": "hidden",
"label": "Maximum Retry Duration (sec)",
"name": "maxRetryDuration",
"widget-attributes": {
"default": 80,
"minimum": 0
}
},
{
"widget-type": "hidden",
"label": "Maximum Retry Count",
"name": "maxRetryCount",
"widget-attributes": {
"default": 5,
"minimum": 0
}
}
]
}
]
}
Loading
Loading