sbt test
Details
- Reviewers
timcharper kensipe zen-dog meichstedt jenkins - Commits
- rMARATHON762a11fbda36: Always set the RootGroup version to the current timestamp whenever it or its…
- JIRA Issues
- JIRA MARATHON-7401 Apps get removed during Marathon upgrade and leader re-election
JIRA MARATHON-7469 Marathon killed tasks involved in Deployment after leader election
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.
Error message:
Stage Compile and Test failed.
(๑′°︿°๑)
Error message:
Stage Compile and Test failed.
(๑′°︿°๑)
Error message:
Stage Compile and Test failed.
(๑′°︿°๑)
Error message:
Stage Compile and Test failed.
(๑′°︿°๑)
You can create a DC/OS with your patched Marathon by creating a new pull
request with the following changes in buildinfo.json:
"url": "https://downloads.mesosphere.io/marathon/snapshots/marathon-1.5.0-SNAPSHOT-660-g128bc41.tgz", "sha1": "43d84d10cfba6c6d040103ca1ce0e852ec624325"
\\ ٩( ᐛ )و //
Error message:
Stage Compile and Test failed.
(๑′°︿°๑)
You can create a DC/OS with your patched Marathon by creating a new pull
request with the following changes in buildinfo.json:
"url": "https://downloads.mesosphere.io/marathon/snapshots/marathon-1.5.0-SNAPSHOT-660-g128bc41.tgz", "sha1": "3e13ad168ee82f5bfea81f5dff369708a8d95895"
\\ ٩( ᐛ )و //
Could you please add a diff description? I'm not sure for example why GroupManager defaults version to Group.defaultVersion (instead of Timestamp.now()).
Also - why does the RootGroup has a default at all - shouldn't we rather leave it empty and force the caller to pass the version?
Group.defaultVersion is Timestamp.now(). As far as I can tell, initially the intention was to use it everywhere, implying that unless one has a good reason to pass a specific version, it is better to use Group.defaultVersion by default which in turn is Timestamp.now().
As to why "GroupManager defaults version to Group.defaultVersion", it is because GroupManager deals with group versions.
Sad to see this land w/o a proper description in the review Summary. Please don't let this happen again
Seriously! My accept was conditional. Next guy to come across this code will wonder why you did what you did. The bug wasn't subtle and it deserves explanation and a link to JIRA ticket.
Guys, would you like me to elaborate on why there is no reason to be sad or serious or both about it?