Releases: Netflix/metaflow-service
v2.4.13
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.
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
- @dependabot made their first contribution in #425
Full Changelog: v2.4.12...v2.4.13
v2.4.12
v2.4.11
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
Full Changelog: v2.4.9...v2.4.10
v2.4.9
What's Changed
- [cache-memory-leak] Fix Memory leak in cache server by @valayDave in #416
- update dev images to 3.11.7-bookworm by @saikonen in #418
- [card-cache-service] optimize caching by @valayDave in #417
- Fix: cache issues by @saikonen in #292
- bump version to 2.4.9 by @saikonen in #419
Full Changelog: v2.4.8...v2.4.9
v2.4.8
v2.4.7
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
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
- fix: remove legacy virtualenv from Dockerfile by @saikonen in #399
- Bump version to 2.4.6 by @saikonen in #400
- chore: revert bundle fix for further discussion by @saikonen in #401
- [realtime-cards] backend API Methods by @valayDave in #402
- [realtime-cards] fix bug in mf version by @valayDave in #410
- fix: change ssl_mode to sslmode by @rswigginton in #408
- Release/2.4.6 by @saikonen in #412
New Contributors
- @rswigginton made their first contribution in #408
Full Changelog: v2.4.5...v2.4.6
v2.4.5
v2.4.4
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 fileMF_METADATA_DB_SSL_KEY_PATH
Path to key fileMF_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
- @tfurmston made their first contribution in #377
- @rohanrebello made their first contribution in #382
- @RikishK made their first contribution in #373
- @pjoshi30 made their first contribution in #344
Full Changelog: v2.4.3...v2.4.4