Active Operations
Details
Diff Detail
- Repository
- rDSTO Storage manager
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Build is green
See https://jenkins.softwareheritage.org/job/DSTO/job/tox/49/ for more details.
Thanks, these changes look fine save for a few comments inline
swh/storage/storage.py | ||
---|---|---|
163 | Can we extract the key that has collided? The diag attribute on the exception should have the info http://initd.org/psycopg/docs/extensions.html#psycopg2.extensions.Diagnostics | |
1216–1217 | The keys should match what's in the stored procedure for stat_counters (so, content, skipped_content, directory, revision, release, snapshot, origin, origin_visit, and maybe person; directory_entry_dir was removed because it's meaningless) | |
swh/storage/tests/test_storage.py | ||
571 | Also check that the key got extracted ? |
- Fix column names in refresh_stat_counters.
swh/storage/storage.py | ||
---|---|---|
163 | The best info I can get from that attribute is the message_detail, which is 'Key (sha1)=(\\x34973274ccef6ab4dfaaf86599792fa9c3fe4689) already exists.'. I could parse it, but eww |
Build is green
See https://jenkins.softwareheritage.org/job/DSTO/job/tox/57/ for more details.
swh/storage/storage.py | ||
---|---|---|
163 | You can check: e.diag.sqlstate == '23505' (unique constraint failure - documented on https://www.postgresql.org/docs/10/errcodes-appendix.html)
We don't enforce distinct blake2s256 hashes (we should also probably drop the sha256 enforcement). Anything else should bubble up as the original IntegrityError exception. |
swh/storage/storage.py | ||
---|---|---|
163 |
grep "_idx" swh/storage/sql/*.sql shows no result. |
swh/storage/storage.py | ||
---|---|---|
163 | nvm, I misunderstood |
Build has FAILED
Link to build: https://jenkins.softwareheritage.org/job/DSTO/job/tox/70/
See console output for more information: https://jenkins.softwareheritage.org/job/DSTO/job/tox/70/console
Build is green
See https://jenkins.softwareheritage.org/job/DSTO/job/tox/74/ for more details.
swh/storage/storage.py | ||
---|---|---|
172 | missing an else: raise ? |
Build is green
See https://jenkins.softwareheritage.org/job/DSTO/job/tox/78/ for more details.