henry3260 commented on code in PR #68361:
URL: https://github.com/apache/airflow/pull/68361#discussion_r3401736107


##########
providers/google/src/airflow/providers/google/cloud/hooks/cloud_sql.py:
##########
@@ -346,10 +356,19 @@ def export_instance(self, instance: str, body: dict, 
project_id: str):
         return operation_name
 
     @GoogleBaseHook.fallback_to_default_project_id
+    @GoogleBaseHook.operation_in_progress_retry()

Review Comment:
   Could we limit the retry to the import submit request only? 
   Currently, the decorator retries the entire `import_instance` , including 
`_wait_for_operation_to_complete`. If the import is submitted successfully but 
operation-status polling later raises a retryable 429, the decorator restarts 
`import_instance` and submits the same import again.



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