Skip to content

Commit ff2c3d3

Browse files
committed
Add ReplicatedWriteConflictException to legacy retry config
1 parent 7abeb19 commit ff2c3d3

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

botocore/data/_retry.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,14 @@
134134
"growth_factor": 2
135135
},
136136
"policies": {
137+
"write_conflict": {
138+
"applies_when": {
139+
"response": {
140+
"service_error_code": "ReplicatedWriteConflictException",
141+
"http_status_code": 409
142+
}
143+
}
144+
},
137145
"still_processing": {
138146
"applies_when": {
139147
"response": {

debug.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import boto3
2+
boto3.set_stream_logger('')
3+
4+
5+
ddb = boto3.client('dynamodb')
6+
ddb.describe_table(TableName='test-table')

0 commit comments

Comments
 (0)