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
Series of scheduler fixes / debugging enhancements #4720
Commits on Sep 21, 2018
-
Fix deployment watcher index usage
Fixes three issues: 1. Retrieving the latest evaluation index was not properly selecting the greatest index. This would undermine checks we had to reduce the number of evaluations created when the latest eval index was greater than any alloc change 2. Fix an issue where the blocking query code was using the incorrect index such that the index was higher than necassary. 3. Special case handling of blocked evaluation since the create/snapshot index is no particularly useful since they can be reblocked.
Configuration menu - View commit details
-
Copy full SHA for 34e8b2f - Browse repository at this point
Copy the full SHA 34e8b2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for f782216 - Browse repository at this point
Copy the full SHA f782216View commit details
Commits on Sep 24, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 9d4ff89 - Browse repository at this point
Copy the full SHA 9d4ff89View commit details -
Denormalize jobs in plan and ignore resources of terminal allocs
Denormalize jobs in AppendAllocs: AppendAlloc was originally only ever called for inplace upgrades and new allocations. Both these code paths would remove the job from the allocation. Now we use this to also add fields such as FollowupEvalID which did not normalize the job. This is only a performance enhancement. Ignore terminal allocs: Failed allocations are annotated with the followup Eval ID when one is created to replace the failed allocation. However, in the plan applier, when we check if allocations fit, these terminal allocations were not filtered. This could result in the plan being rejected if the node would be overcommited if the terminal allocations resources were considered.
Configuration menu - View commit details
-
Copy full SHA for 82889c4 - Browse repository at this point
Copy the full SHA 82889c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 06920ee - Browse repository at this point
Copy the full SHA 06920eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c40d62 - Browse repository at this point
Copy the full SHA 4c40d62View commit details -
Unique TriggerBy for blocked evals
Give blocked evals a unique triggerby reason to make debugging a chain of evaluations easier.
Configuration menu - View commit details
-
Copy full SHA for ed53038 - Browse repository at this point
Copy the full SHA ed53038View commit details -
Merge pull request #4709 from hashicorp/b-deployments
Fix deployment watcher index usage
Configuration menu - View commit details
-
Copy full SHA for b8ec297 - Browse repository at this point
Copy the full SHA b8ec297View commit details -
Configuration menu - View commit details
-
Copy full SHA for 302a694 - Browse repository at this point
Copy the full SHA 302a694View commit details -
Merge pull request #4716 from hashicorp/f-no-reuse-triggerby
Unique TriggerBy for blocked evals
Configuration menu - View commit details
-
Copy full SHA for 029a7f6 - Browse repository at this point
Copy the full SHA 029a7f6View commit details
Commits on Sep 25, 2018
-
Configuration menu - View commit details
-
Copy full SHA for e9c7dc1 - Browse repository at this point
Copy the full SHA e9c7dc1View commit details -
Add failed follow up to the list of allowed eval trigger reasons
needs unit test
Configuration menu - View commit details
-
Copy full SHA for 47e22f6 - Browse repository at this point
Copy the full SHA 47e22f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for b3e8555 - Browse repository at this point
Copy the full SHA b3e8555View commit details -
Merge pull request #4712 from hashicorp/b-failed-trigger-reason
Add a missing eval trigger reason
Configuration menu - View commit details
-
Copy full SHA for bcb1a67 - Browse repository at this point
Copy the full SHA bcb1a67View commit details