You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The SSHOperator does not have on_kill method which could deliberately close the ssh client. This means that the klient is close by TERM or even KILL signal when the task is closed and it might leave the connection to SSH still open for quite some time when the server might not realise that the client is closed.
Closing the client gently should improve the speed with which the SSH server will close such stale connections in most cases.
Committer
I acknowledge that I am a maintainer/committer of the Apache Airflow project.
The text was updated successfully, but these errors were encountered:
@potiuk I opened that draft PR to get an idea of where this new on_kill method should be used or if the idea is to just let the user call it when they need it.
Body
The SSHOperator does not have
on_kill
method which could deliberately close the ssh client. This means that the klient is close by TERM or even KILL signal when the task is closed and it might leave the connection to SSH still open for quite some time when the server might not realise that the client is closed.Closing the client gently should improve the speed with which the SSH server will close such stale connections in most cases.
Committer
The text was updated successfully, but these errors were encountered: