Skip to content

Releases: Netflix/metaflow-service

v2.4.13

08 Nov 11:29
3d26680
Compare
Choose a tag to compare

Improvements

Database table trigger versioning

This release changes the naming of table triggers that the ui_backend sets up to include a timestamp as a version. This allows the backend to recreate table triggers in case any changes need to be deployed, or skip in case of a version match.

⚠️ After deploying this version of the service, do note that in the case of a service rollback, the database will have duplicate table triggers due to older service versions not having any cleanup code for these. In such a case, clean up the remaining triggers manually

Reduced Postgres notify messaging

This release reduces the volume of pg_notify messages that the database sends on table events. There should not be any effect on the average deployment, but for very large deployments running on services like Amazon Aurora, this solves significant performance issues.

Fixes runs starting with a failed status in certain cases

This release fixes an issue with runs starting with a failed status if the Metaflow client version being used had an uncommon version string.

What's Changed

  • fix: linting issues by @saikonen in #433
  • feature: version table triggers by @saikonen in #432
  • fix: log paths failure by @saikonen in #430
  • Bump azure-identity from 1.10.0 to 1.16.1 in /services/ui_backend_service by @dependabot in #425
  • fix: reduce postgres notify messaging by @saikonen in #409
  • fix: correctly sort log lines based on utc_tstamp by @saikonen in #435
  • fix: make trigger cleanup schema aware by @saikonen in #436
  • fix: version string parse failure leads to runs starting without a heartbeat by @saikonen in #443
  • fix: run status stuck as failed with heartbeat changes by @saikonen in #441
  • feature: treat client version parse failures as heartbeat-enabled by default by @saikonen in #444
  • fix: incorrect table name passing in notify broadcast by @saikonen in #446
  • release: 2.4.13 by @saikonen in #447

New Contributors

Full Changelog: v2.4.12...v2.4.13

v2.4.12

24 Jul 15:45
Compare
Choose a tag to compare

Upgrade metaflow-ui to v1.3.13

v2.4.11

12 Jun 21:57
f6f7176
Compare
Choose a tag to compare

Improvements

More memory efficient handling of large logs

This release alleviates some of the issues with memory consumption when processing extremely large logs ranging in gigabytes.

What's Changed

Full Changelog: v2.4.9...v2.4.11

v2.4.10

02 May 13:48
Compare
Choose a tag to compare

Full Changelog: v2.4.9...v2.4.10

v2.4.9

20 Mar 18:12
e0b1499
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.4.8...v2.4.9

v2.4.8

08 Feb 14:26
79e17e3
Compare
Choose a tag to compare

What's Changed

  • [Ready for review] Update SearchAPI to search for foreach variable name and value. by @darinyu in #411
  • fix: make search api changes backwards compatible by @saikonen in #414
  • Release/2.4.8 by @saikonen in #415

New Contributors

Full Changelog: v2.4.7...v2.4.8

v2.4.7

18 Jan 23:30
Compare
Choose a tag to compare

Features

Support realtime cards

This release pins the version of Metaflow UI to v1.3.9 which adds support for realtime cards

Full Changelog: v2.4.6...v2.4.7

v2.4.6

18 Jan 19:35
c38eb42
Compare
Choose a tag to compare

Features

API additions for Metaflow UI

This release adds Metaflow UI API endpoints required for the upcoming realtime cards feature.

Improvements

Issue with goose script for migrations

Fixes a typo that caused the run_goose.py to fail when enabling ssl for the database connection.

What's Changed

New Contributors

Full Changelog: v2.4.5...v2.4.6

v2.4.5

03 Nov 15:44
Compare
Choose a tag to compare

Updating UI version to 1.3.7

v2.4.4

30 Oct 20:41
3d90be1
Compare
Choose a tag to compare

Features

Add configurable separation for read and write pools for the database connection

A separate reader pool of connections can now be configured to point to a different database instance, to split the query load when necessary. This can be configured by the following environment variables

  • USE_SEPARATE_READER_POOL set to "True"
  • MF_METADATA_DB_READ_REPLICA_HOST to the host for the readonly connections.

Configurable SSL support for database connection

The connection to the database can now be configured to utilize SSL if required.
Setup is done with the following environment variables

  • MF_METADATA_DB_SSL_MODE, possible values 'allow', 'prefer', 'require', 'verify-ca', 'verify-full'
  • MF_METADATA_DB_SSL_CERT_PATH Path to cert file
  • MF_METADATA_DB_SSL_KEY_PATH Path to key file
  • MF_METADATA_DB_SSL_ROOT_CERT_PATH Path to CA

Improvements

UI v1.3.6

Updates the bundled UI version to 1.3.6

Update Python base images

Update base images versions to 3.11.6 for added security.

Relax thresholds for marking runs as failed.

In a previous release, in an effort to reduce the weight of database queries, the threshold for marking runs as failed due to an expired heartbeat was set to a very strict 1 minute. While configurable, this meant that by default any run that gets all of its tasks stuck in a scheduler would be marked as failed very quickly.

This release eases the threshold to a more reasonable 6 minutes, while still being fully configurable via the environment variable RUN_INACTIVE_CUTOFF_TIME

What's Changed

  • fix: Correct project version in setup.py file by @tfurmston in #377
  • Add INSTALLED_PLUGINS_BASE_DIR env variable by @obgibson in #378
  • [ui] config root configurable by env vars by @valayDave in #381
  • Docker changes to support M1 laptops by @obgibson in #380
  • Use f-strings for log message by @rohanrebello in #382
  • support PATH_PREFIX var in metadata service by @oavdeev in #384
  • Upgrade Github actions used in dockerimage action by @tfurmston in #379
  • chore: deprecated pkg_resources by @saikonen in #387
  • In a previous commit, the detection of a failure became too aggressive. by @romain-intel in #386
  • fix PATH_PREFIX handling in metadata service so it doesn't interfere with mfgui routes by @oavdeev in #388
  • Configurable SSL Connection by @RikishK in #373
  • fix: run_goose.py not working without SSL mode env variables. by @saikonen in #390
  • fix: tone down run inactive cutoff default by @saikonen in #392
  • Added the ability to separate out reads and writes into their own connection pools. by @pjoshi30 in #344
  • chore: upgrade Python base images to 3.11.6 by @saikonen in #396
  • chore: update UI version to 1.3.6 by @saikonen in #397
  • Bump version to 2.4.4 by @saikonen in #398

New Contributors

Full Changelog: v2.4.3...v2.4.4