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