Skip to content
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

Filter to only starting tasks when reconciling #2123

Merged
merged 2 commits into from
Aug 3, 2020

Conversation

relistan
Copy link
Contributor

This should fix #2122 by filtering properly to only launching tasks. It was previously targeted all tasks that were not starting which I am pretty certain the opposite of the intent. Please review #2122 for all the details.

@ssalinas
Copy link
Member

Thanks for the PR, my internet is out and I haven’t been able to work on much via LTE 😢

@ssalinas
Copy link
Member

@pschoenfelder can you help make sure this makes it through the branches and gets merged?

@pschoenfelder
Copy link
Contributor

👍 Will start rolling out on Monday.

@relistan
Copy link
Contributor Author

Looks like the merge resolution screwed up the formatting and the formatter is angry (why CI failed). I can fix Monday morning.

@pschoenfelder pschoenfelder merged commit fdf0a9e into HubSpot:master Aug 3, 2020
@ssalinas
Copy link
Member

Coming back to this, it seems to have had the opposite effect on our end. Reading the logic again if we want all tasks in a launching state and we are inspecting the the presence of a 'starting' history event in zk, the previous logic was actually correct. If the 'starting' event is not present in zk, explicitly reconcile the task because we want to see if we missed the first event back from the executor for it

This seems to point to #2122 being caused by a separate issue and tasks not actually making it from launching -> starting for some reason in your cluster

I'm going to open a PR to revert this for the moment as it is dramatically slowing down some of our internals. Feel free to stay on the older commit for the moment and we can keep looking into the cause of your issue as well @relistan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Continuous Reconciliation on a 5 second basis
3 participants