-
Notifications
You must be signed in to change notification settings - Fork 112
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
Fix task handling bugs, so peers are more likely to be available #3191
Conversation
bdca9c4
to
3badaf3
Compare
I've marked this as draft until PR #3167 merges, because they change the same import lines. |
b9becfd
to
b6b5c1a
Compare
6ffd06f
to
54c0640
Compare
b6b5c1a
to
49cf2c1
Compare
49cf2c1
to
de6b673
Compare
The Google Cloud build failed, I opened: |
95a329e
to
03e8299
Compare
de6b673
to
10f7341
Compare
03e8299
to
8d2a425
Compare
10f7341
to
94b6f52
Compare
I've marked this PR and all its dependencies as a high priority, because this is a known bug that has actually happened before, and seems to still be happening. I'm not sure if this PR fixes the bug, but it's an easy first step. |
@teor2345 should this still be in draft and are you looking for an additional review at this time? I see @jvff already approved a previous version of this PR a while ago. |
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.
I believe this is just waiting for #3167 to be merged and is a draft just to prevent it from merging before that one.
It looks good - I don't have much experience with this part of the code but was approved before, so I'm approving it now and leave it unmerged for a bit if anyone else wants to take a look.
This makes it more likely that peers will become ready.
94b6f52
to
4f13056
Compare
Yep, that's the only way to stop a GitHub PR that is based on another PR from merging into the wrong branch. @mpguerra here's the process we agreed on a few months ago:
If there's something else I need to do, let's talk about it at the Engineering sync. And then let's document it in the onboarding doc. |
This got approved then rebased, and it's urgent, so I just admin-merged it. |
Motivation
Some of our crawler and connection rates can lead to weird interactions between crawlers, such as flapping or task synchronisation.
This is unexpected work in sprint 24, but it's related to the upcoming fanout and
notfound
work.Solution
Timer changes:
Task order changes:
Review
@jvff or @dconnolly can review this PR.
This is urgent because syncs are very slow, and #3191 or #3244 should help fix that.
This PR is based on PR #3167, because they change the same import lines.
Reviewer Checklist
Follow Up Work
notfound
, and use receivednotfound
to finish requests #2726