HomeMesosphereNo notifications. 4 unresolved issues.

Replace viable task delays with overdue task delays
ClosedAll Users

Authored by ichernetsky on Aug 30 2017, 10:40 PM.

Details

Summary

This change is all about wording, so that it is better aligned with what the code actually does and what is in the 1.4 branch

Test Plan

sbt test

Diff Detail

Repository
rMARATHON marathon
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
ichernetsky created this revision.Aug 30 2017, 10:40 PM
  • Remove unused ResetDelayResponse
jenkins requested changes to this revision.Aug 30 2017, 10:47 PM
This revision now requires changes to proceed.Aug 30 2017, 10:47 PM
jenkins accepted this revision.Aug 30 2017, 11:03 PM
This revision is now accepted and ready to land.Aug 30 2017, 11:03 PM
✔ Build of 4166 completed jenkins-public-marathon-phabricator-912.

You can create a DC/OS with your patched Marathon by creating a new pull
request with the following changes in buildinfo.json:

\\ ٩( ᐛ )و //

✔ Build of 4167 completed jenkins-public-marathon-phabricator-913.

You can create a DC/OS with your patched Marathon by creating a new pull
request with the following changes in buildinfo.json:

\\ ٩( ᐛ )و //

kensipe accepted this revision.Sep 1 2017, 11:31 PM
jdef added a subscriber: jdef.Sep 2 2017, 12:34 AM
jdef added inline comments.
src/main/scala/mesosphere/marathon/core/launchqueue/impl/RateLimiterActor.scala
38

while we're editing this line, would be nice to extract this constant and give it a meaningful name. perhaps something like overdueDelayCleanupInterval?

and maybe this constant could be referenced in test cases to give some shape to the magic numbers that appear in such places?

timcharper accepted this revision.Sep 2 2017, 1:06 AM
timcharper added inline comments.
src/main/scala/mesosphere/marathon/core/launchqueue/impl/RateLimiterActor.scala
38

Great idea, James; second this

This revision was automatically updated to reflect the committed changes.
ichernetsky added inline comments.Sep 2 2017, 8:42 AM
src/main/scala/mesosphere/marathon/core/launchqueue/impl/RateLimiterActor.scala
38

Somehow I skipped your comment. I will address it in another diff. Although the constant doesn't have anything to do with the durations in the tests below.