Revision 5b3e6c9f70f94f4ae7440de453fd75cd1d3bbeb6 authored by Nicolas Dandrimont on 04 February 2021, 08:56:03 UTC, committed by Nicolas Dandrimont on 04 February 2021, 13:37:12 UTC
This is mostly a consistency addition, considering that most (if not all) loaders will only add a single snapshot. The common pattern of loading objects in topological order (content > directory > revision > release > snapshot), then flushing the storage, is now fully consistent; Without this addition, the snapshot addition would reach the backend storage before all other objects are added, leading to potential inconsistencies if the flush of other object types fails.
1 parent 18967ed
File | Mode | Size |
---|---|---|
bin | ||
docs | ||
sql | ||
swh | ||
.gitignore | -rw-r--r-- | 136 bytes |
.pre-commit-config.yaml | -rw-r--r-- | 1.2 KB |
AUTHORS | -rw-r--r-- | 112 bytes |
CODE_OF_CONDUCT.md | -rw-r--r-- | 3.3 KB |
CONTRIBUTORS | -rw-r--r-- | 46 bytes |
LICENSE | -rw-r--r-- | 34.3 KB |
MANIFEST.in | -rw-r--r-- | 242 bytes |
Makefile | -rw-r--r-- | 163 bytes |
Makefile.local | -rw-r--r-- | 69 bytes |
README.md | -rw-r--r-- | 4.9 KB |
conftest.py | -rw-r--r-- | 323 bytes |
mypy.ini | -rw-r--r-- | 1.3 KB |
pyproject.toml | -rw-r--r-- | 237 bytes |
pytest.ini | -rw-r--r-- | 395 bytes |
requirements-swh-journal.txt | -rw-r--r-- | 21 bytes |
requirements-swh.txt | -rw-r--r-- | 69 bytes |
requirements-test.txt | -rw-r--r-- | 296 bytes |
requirements.txt | -rw-r--r-- | 129 bytes |
setup.cfg | -rw-r--r-- | 247 bytes |
setup.py | -rwxr-xr-x | 2.4 KB |
tox.ini | -rw-r--r-- | 682 bytes |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...