-
- Downloads
Handle missing objects in revision_log() and revision_shortlog()
A revision in a log can be missing from the storage. While holes are unusual, they can happen. Dedicated tests were added for the issue. TODO: - [ ] A decision needs to be made on what should be returned by `revision_short_log()` in case of a missing revision.
parent
e407ba2f
Branches fix-revision-log-on-missing-objects
No related tags found
Showing
- swh/storage/cassandra/storage.py 8 additions, 3 deletionsswh/storage/cassandra/storage.py
- swh/storage/postgresql/storage.py 9 additions, 3 deletionsswh/storage/postgresql/storage.py
- swh/storage/proxies/masking/__init__.py 7 additions, 6 deletionsswh/storage/proxies/masking/__init__.py
- swh/storage/sql/40-funcs.sql 5 additions, 3 deletionsswh/storage/sql/40-funcs.sql
- swh/storage/sql/upgrades/194.sql 32 additions, 0 deletionsswh/storage/sql/upgrades/194.sql
- swh/storage/tests/storage_tests.py 61 additions, 2 deletionsswh/storage/tests/storage_tests.py
Loading
Please register or sign in to comment