swh:1:snp:eb70f1f85391e4b077c211bec36af0061c4bf937
Revision 5d3de067e838fec32a4864219ab3ca70ff39dd52 authored by Nicolas Dandrimont on 17 September 2020, 17:55:58 UTC, committed by Nicolas Dandrimont on 24 September 2020, 11:57:14 UTC
This uses a new database table and some psql conditionals to introduce three
different flavors for the swh.storage Postgres database:

 - the 'default' flavor has all the deduplication features, foreign keys and
 read indexes
 - the 'mirror' flavor has all the deduplication features and read indexes; it
 drops some foreign keys to allow for out of order addition of some object types
 - the 'read_replica' flavor has the minimal set of indexes to support
 read queries, and replication using the PostgreSQL logical replication feature

Related to T2604.
1 parent 63426e6
History
Tip revision: 728c3eeaae84a7e249a712a5545cc9ba682403c3 authored by David Douard on 08 January 2021, 09:39:42 UTC
Allow to use the JAVA_HOME environment for cassandra tests
Tip revision: 728c3ee
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.6 KB
conftest.py -rw-r--r-- 294 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-- 19 bytes
requirements-swh.txt -rw-r--r-- 69 bytes
requirements-test.txt -rw-r--r-- 318 bytes
requirements.txt -rw-r--r-- 141 bytes
setup.cfg -rw-r--r-- 247 bytes
setup.py -rwxr-xr-x 2.4 KB
tox.ini -rw-r--r-- 661 bytes

README.md

back to top