Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Consider following scenario (everything for the same
workSpecId
) :StartWorkRunnable
was posted as a result ofGreedyScheduler
WorkerWrapper
was created byProcessor
StopWorkRunnable
posted byGreedyScheduler
because constraints aren't met anymore or (in the future because of an update ofworkspec
)onStartJob
is called on main thread => newparams
added tomJobParameters
andStartWorkRunnable
was posted.onExecuted
inSystemJobService
was called due to 3. on the main thread =>SystemJobService
removes corresponding entry frommJobParameters
and callsjobFinished
signallingJobScheduler
that job finished running => JobScheduler stops constraints tracking.4
, but neitherGreedyScheduler
orJobScheduler
track constraints.