Skip to content

Latest commit

 

History

History
262 lines (163 loc) · 10.7 KB

changelog.md

File metadata and controls

262 lines (163 loc) · 10.7 KB

Next

  • DCOS_OSS-5970 Schedules can be defined with job spec creation. They are always returned. èmbed=schedules has been deprecated.

0.6.x

  • Provide configuration in /info.
  • D2IQ-69445 Introduce /leader endpoint to query the current Metronome leader address in HA mode.

0.6.48

  • DCOS_OSS-5965 Fix an issue Metronome became unresponsive when too many JobRunExecutorActor instances queried instances and timed out.

  • MARATHON-8746 Fix a severe issue introduced in 0.6.41 in which the zk-store location was modified, causing Metronome to appear that it lost all jobs. Upgrading to 0.6.48 will resolves this issue and restores jobs created in previous versions of DC/OS.

0.6.42

0.6.41

0.6.33

  • Updated to the latest version of cron-utils 9.0.0 and removed threeten-backport. This fixes a number of cron related issues in the underlying dependencies.
  • When querying run detail with embed=history, successfulFinishedRuns and failedFinishedRuns contains new field tasks which is an array of taskIds of that finished run. This will allow people to query task ids even for finished job runs.
  • Fixed a bug when task status was not updated after the task turned running (when querying embed=activeRuns).
  • DCOS_OSS-5166 Fixed metronome not using revive operation

0.6.21

0.6.18

  • DCOS_OSS-4636 Failure when restart policy is ON_FAILURE. This bug was introduced through the fix of another bug regarding stopping invalid extra instances of a job run. Metronome should not check the launch queue when a restart is invoked.

New features

  • Added new metric metronome.uptime.gauge.seconds

0.6.12

Bug fixes

  • DCOS_OSS-4978 Allow using IS operator when creating jobs. This was broken since introduction of the IS operator, which replaced EQ but was not a valid schema value.

0.6.11

Updated Marathon dependency to 1.7.202

0.6.10

Updated Marathon dependency to 1.7.188

0.5.71

Metronome uses Marathon as a library for scheduling. We have bumped the dependency to the current Marathon, which is 1.7.183. This brings a lot of bug fixes and new features from the last 3 versions of Marathon. At the same time, it allows us to add UCR and secrets support.

Breaking changes

Metronome 0.5.71 contains new Metrics endpoint with new metrics exposed that should allow you to monitor Metronome more easily. For detailed information please refer to the Metrics page in our docs.

IS replaces EQ operator

In order to bring better alignment between Marathon and Metronome, the EQ constraint operator has been replaced with IS. The change is semantic; Job definitions using EQ will continue to function the same and are transparently mapped to the new operator with the same constraint behavior.

If you post the following Job definition:

{
  "description": "constraint example",
  "id": "constraint-example",
  "run": {
    ...
    "placement": {
      "constraints": [{"attribute": "@region", "operator": "EQ", "value": "us-east-1"}]
    }
  }
}

When you ask for it back, the operator will be "IS":

{
  "description": "constraint example",
  "id": "constraint-example",
  "run": {
    ...
    "placement": {
      "constraints": [{"attribute": "@region", "operator": "IS", "value": "us-east-1"}]
    }
  }
}

Previous jobs are automatically migrated as well.

New features

Bug fixes

Version 0.4.4

Bugs and Tracking

  • #244 Wait for all parts of migration to be finished.

Diff 0.4.2-0.4.3

Version 0.4.3

Bugs and Tracking

  • #234 Exit when cannot load state from ZK.
  • #230 Gracefully handle errors during task launching.
  • DCOS_OSS-2564 Docker params support.

Diff 0.4.2-0.4.3

Version 0.4.2

Features

Bugs fixed

  • METRONOME-218 Improved behavior for situations when the underlying zookeeper node content is corrupt - we now fail loud and early

Diff 0.4.1-0.4.2

Breaking changes

Command line parameters

Command line parameter task.lost.expunge.gc was removed because the underlying algorithm change and this one no longer has any effect.

Metrics

We moved to a different Metrics library and the metrics are not always compatible or the same as existing metrics; however, the metrics are also now more accurate, use less memory, and are expected to get better throughout the release. Where it was possible, we maintained the original metric names/groupings/etc, but some are in new locations or have slightly different semantics. Any monitoring dashboards should be updated.

For Metronome specific metrics, you can find your old metrics under in the same path, only prefixed with "service" so e.g. 'dcos.metronome.jobspec.impl.JobSpecServiceActor.receiveTimer' is now 'service.dcos.metronome.jobspec.impl.JobSpecServiceActor.receiveTimer'.

The format of the v1/metrics endpoint also changed in a backward incompatible manner - please see the documentation for the current way the metrics are served.

Version 0.4.1

Bugs and Tracking

Diff 0.4.0-0.4.1

Version 0.4.0

Features

Bugs and Tracking

Diff 0.3.4-0.4.0

The launch queue (/v1/queue) provides a way to see jobs which have been scheduled to launch but are still not launched on the cluster. This is usually because there is not enough resources or constraints are not met.

The FORBID concurrency policy allows "concurrencyPolicy": "FORBID" to be added to a schedule. This restricts launching of a scheduled jobrun when previous run is still active. In that case it will not launch nor will be queued to launch. The job will be rescheduled for the next CRON time.

Version 0.3.5

Diff 0.3.4-0.3.5

Bugs and Tracking

  • METRONOME-236 Additional CRON validation to prevent system lock up.

Version 0.3.4

Diff 0.3.3-0.3.4

Bugs and Tracking

Version 0.3.3

Diff 0.3.2-0.3.3

Bugs and Tracking

Version 0.3.1

Diff 0.2.4-0.3.1

Features

  • Upgraded to a released version of Marathon Lib v1.3.13
  • Updates to dependencies (including an Akka update to fix schedule time wrap around bug)
  • Added /info end point for metronome version information

Bugs and Tracking

Download

https://s3.amazonaws.com/downloads.mesosphere.io/metronome/releases/0.3.1/metronome-0.3.1.tgz sha: f6fd3d48a889ea19cb13dfd908a82e53c03ffab1

Version 0.2.4

diff from 0.2.3-0.2.4

Fixes

  • Upgraded to cron-utils 6.0.4, fixes issues with cron calculations enabling crons such as 0 9 1-7 * 1-5 as mon-fri the first week of the month only.
  • Documentation and Job placement examples provided.

Version 0.2

Prepare Metronome for DC/OS 1.9.

Overview

Service integration tests

We now have a suite of integration tests for DC/OS that runs in our CI.

Fixes

  • Fix #96 Change constraints fields names to match schema.
  • Fix #102 API Examples update: test.com -> example.com
  • Fix #107 Add /v0/scheduled-jobs raml documentation.

Version 0.1

Genesis