kaxil commented on code in PR #67962:
URL: https://github.com/apache/airflow/pull/67962#discussion_r3463911520


##########
providers/http/src/airflow/providers/http/operators/http.py:
##########
@@ -209,6 +209,12 @@ def paginate_sync(self, response: Response) -> Response | 
list[Response]:
         return all_responses
 
     def execute_async(self, context: Context) -> None:
+        if self.method.upper() not in ("GET", "HEAD", "OPTIONS"):
+            self.log.warning(
+                "HttpOperator with deferrable=True and method=%s may send 
duplicate requests if the Triggerer restarts.",
+                self.method,
+            )

Review Comment:
   Do first run/check on the worker, then defer to triggerer 



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