syedahsn commented on code in PR #27276:
URL: https://github.com/apache/airflow/pull/27276#discussion_r1021933510


##########
airflow/providers/amazon/aws/operators/redshift_cluster.py:
##########
@@ -397,15 +396,27 @@ def __init__(
         super().__init__(**kwargs)
         self.cluster_identifier = cluster_identifier
         self.aws_conn_id = aws_conn_id
+        # These parameters are added to address an issue with the boto3 API 
where the API
+        # prematurely reports the cluster as available to receive requests. 
This causes the cluster
+        # to reject initial attempts to resume the cluster despite reporting 
the correct state.
+        self.attempts = 10
+        self.attempt_interval = 15

Review Comment:
   good point



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to