-
Notifications
You must be signed in to change notification settings - Fork 14.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
heartbeat recovery message #34457
heartbeat recovery message #34457
Conversation
df94736
to
55faf46
Compare
5c097d4
to
a33cf10
Compare
a33cf10
to
1730227
Compare
d051cb4
to
9d82803
Compare
c21c011
to
54e6c96
Compare
54e6c96
to
f77fa86
Compare
0328759
to
139f4aa
Compare
984c74c
to
dfaaabe
Compare
this looks good @Bowrna (except the static check failing) - but I have one small proposal. It took me a bit of time to see why grace_multiplier is not passed to to the method in heartbeat - and I found out that even if it is specified in
And then - it should be taken from job whenever needed (similarly as we take job.job_type). It would be great to change it here - because we are anyhow touching the same code, but If you think it's too much, I am fine to approve it even without it (and you could do it as a follow-up for example). |
@potiuk i will add the changes that you have suggested |
3176485
to
f28a5b7
Compare
@potiuk i made the changes regarding the grace_multiplier. If I remember right, the grace_multiplier was allowed to be set as a param value in config side and I don't see that part of the code currently. am I missing something here? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. But I would love some other committer to take a look - it's quite crucial part of our processing and we had some issues that have been overlooked there in the past - for example #37992
Yes. Grace_multiplier is not set anywhere to a different value than default 2.1 now. |
(or so I saw from reviewing the code myself). It's still good to keep it though in case we have a case we want to override it. |
f28a5b7
to
eef776f
Compare
Looks like real issues. |
2e4b788
to
fd2e4e1
Compare
Test is failing in the health api call testcases. let me debug the issue and fix it by EOD |
fd2e4e1
to
ddc7d44
Compare
d0b3f94
to
40c4b33
Compare
40c4b33
to
dda9b36
Compare
All green now :) |
🎉 |
related: #31810
closed: #31810
this covers the point C of the issue
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named
{pr_number}.significant.rst
or{issue_number}.significant.rst
, in newsfragments.