HomeMesosphereNo notifications. 4 unresolved issues.

Remove dangerous lock compare method and make potential usage obvious
ClosedAll Users

Authored by timcharper on Jun 21 2017, 6:35 AM.

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.
Changes from before your most recent comment are hidden. Show Older Changes
jeschkies accepted this revision.Jun 22 2017, 4:21 PM

Cool!

src/main/scala/mesosphere/marathon/util/Lock.scala
44

I'd be actually radical and crash Marathon in these cases. I'm fine with logging it for now. We don't have proper guidelines for logging and error handling yet anyways.

timcharper added inline comments.Jun 23 2017, 9:40 PM
src/main/scala/mesosphere/marathon/util/Lock.scala
44

That's really not a bad idea, @jeschkies . :)

This revision was automatically updated to reflect the committed changes.