wilfred-s commented on pull request #168: URL: https://github.com/apache/incubator-yunikorn-core/pull/168#issuecomment-643877401
The race is linked to when we update the repeat on the ask. I removed the transition check from the repeat update. When we create a proposal we lower the repeat, if the cache pushes back we cancel the proposal and increase the ask again. During proposal processing we also change the pending, inflight and allocated values. These changes race with each other because the cache is leading for an allocation while the scheduler is leading for all other. The scheduler does not get told that the allocation is confirmed until after the fact. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
