hashicorp / hashicorp/nomad

Filtered evals should also be treated as blocked in system scheduler

Open
#6,482 0 comments 0 reactions 0 assignees View on GitHub
theme/scheduling theme/system-scheduler type/enhancement
Dominant language
Go
Stars
17k
Forks
2.1k
Avg merge
1d 9h
Merged PRs (30d)
105

Description

PR #5900 implemented support for blocked evaluations in the system scheduler, such that system jobs would be placed after capacity was available.

Some node properties are immutable (e.g. arch) and we do not want to recheck those properties for system jobs. Some are mutable (e.g. driver availability) and we need to recheck blocked evaluations when those properties change. We need to block filtered jobs iff they are filtered by properties that may change.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading PR #5900 and trace the system scheduler's blocked-evaluation handling and filtering logic. Identify how node properties are classified as immutable or mutable, then verify that filtered jobs are blocked only for mutable properties and rechecked when those properties change. Done means immutable-property filters are not rechecked while mutable-property filters are handled like blocked evaluations.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend, distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.