3.2.0
Release Notes
For: uc-cdis/sheepdog
Notes since tag: 3.1.1
Notes to tag/commit: 3.2.0
Generated: 2021-09-01
New Features
- Update for PostgreSQL SSL support (#351)
Bug Fixes
- Add option for
isolation_level
READ_COMMITTED
. This addresses an error
which occurs when there's competing transactions in thesheepdog
database, for example, when using multiple workers inuwsgi
which are
trying to reach a shared resource insheepdog_db
. (#351) - The conflict occurs after submitting multiple requests to
sheepdog
using
the gen3sdk for python (see
https://github.com/uc-cdis/gen3sdk-python/blob/master/gen3/submission.py#L187)
as part of populating the data dictionary with metadata. In this case, it
looks like the race condition mentioned here
https://github.com/uc-cdis/cloud-automation/blob/1f9cbb52cecf449a5ad76f984fe0dda449d924d3/kube/services/jobs/gdcdb-create-job.yaml#L48
is occurring. This is a workaround to useisolation_level
of
READ_COMMITTED
withinsheepdog
. (#351)
Improvements
- Update
uwsgi.ini
andDockerfile
to supportpython
dependency installs
(#351) - Update test suite (#351)
- Add debug log when unable to parse JSON input (#354)
- Handle TSV/CSV data for program/project creation (#354)
- Adopt new base img with dd apm (#348)
Dependency Updates
- Included
python
dependency updates inrequirements.txt
for
datamodelutils==1.0.0
,dictionaryutils==3.2.0
,gen3authz==0.4.0
,
six>=1.15.0
,py2neo
, andgoogle-crc32==1.1.2
. (#351) -
Note that
dictionaryutils==3.4.0
is the currentsheepdog python
dependency but is not available for download from pypi (at least with a
wsl
/windows
release). The lower version3.2.0
is a workaround.
(#351) - Included
python
dependency updates indev-requirements.txt
for
coverage==5.3.0
andcodacy-coverage==1.3.11
(#351) - Bumps lxml from 4.4.2 to 4.6.3. (#342)