From 3ab27e5d36d7acb13702dfc7cf441fd39a21ca06 Mon Sep 17 00:00:00 2001 From: Riad Abdallah Date: Tue, 4 Mar 2025 11:56:42 +0100 Subject: [PATCH 1/3] Bump databases to `v1.3.0-rc.1` --- docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index b7716d6..85fae18 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -25,7 +25,7 @@ services: restart: always logging: *default-logging triplestore: - image: tenforce/virtuoso:1.3.2-virtuoso7.2.5.1 + image: redpencil/virtuoso:1.3.0-rc.1 environment: SPARQL_UPDATE: "true" DEFAULT_GRAPH: "http://mu.semte.ch/application" @@ -310,7 +310,7 @@ services: # DELTA GENERAL ################################################################################ publication-triplestore: - image: redpencil/virtuoso:1.2.0-rc.1 + image: redpencil/virtuoso:1.3.0-rc.1 environment: SPARQL_UPDATE: "true" DEFAULT_GRAPH: "http://mu.semte.ch/application" From bc3cd35f8f4377cf97e7411efc299568d927d687 Mon Sep 17 00:00:00 2001 From: Riad Abdallah Date: Tue, 4 Mar 2025 11:57:09 +0100 Subject: [PATCH 2/3] Add new config vars to .ini files --- config/db/virtuoso-production.ini | 2 ++ config/db/virtuoso.ini | 2 ++ config/publication-triplestore/virtuoso-production.ini | 2 ++ config/publication-triplestore/virtuoso.ini | 2 ++ 4 files changed, 8 insertions(+) diff --git a/config/db/virtuoso-production.ini b/config/db/virtuoso-production.ini index c074796..d45dca2 100644 --- a/config/db/virtuoso-production.ini +++ b/config/db/virtuoso-production.ini @@ -231,10 +231,12 @@ DefaultHost = localhost:8890 ;DefaultGraph = http://localhost:8890/dataspace ;ImmutableGraphs = http://localhost:8890/dataspace ResultSetMaxRows = 1000000 ; 1 million +MaxConstructTriples = 10000 ; More info on this addition here: https://github.com/redpencilio/docker-virtuoso/pull/29 ;MaxQueryCostEstimationTime = 4000 ; in seconds MaxQueryExecutionTime = 1200 ; in seconds DefaultQuery = select distinct ?Concept where {[] a ?Concept} LIMIT 100 DeferInferenceRulesInit = 0 ; controls inference rules loading +MaxMemInUse = 0 ; limits the amount of memory for construct dict (0=unlimited). More info on this addition here: https://github.com/redpencilio/docker-virtuoso/pull/29 ;PingService = http://rpc.pingthesemanticweb.com/ [Plugins] diff --git a/config/db/virtuoso.ini b/config/db/virtuoso.ini index fb33835..3b458e2 100755 --- a/config/db/virtuoso.ini +++ b/config/db/virtuoso.ini @@ -231,10 +231,12 @@ DefaultHost = localhost:8890 ;DefaultGraph = http://localhost:8890/dataspace ;ImmutableGraphs = http://localhost:8890/dataspace ResultSetMaxRows = 1000000 ; 1 million +MaxConstructTriples = 10000 ; More info on this addition here: https://github.com/redpencilio/docker-virtuoso/pull/29 ;MaxQueryCostEstimationTime = 4000 ; in seconds MaxQueryExecutionTime = 1200 ; in seconds DefaultQuery = select distinct ?Concept where {[] a ?Concept} LIMIT 100 DeferInferenceRulesInit = 0 ; controls inference rules loading +MaxMemInUse = 0 ; limits the amount of memory for construct dict (0=unlimited). More info on this addition here: https://github.com/redpencilio/docker-virtuoso/pull/29 ;PingService = http://rpc.pingthesemanticweb.com/ [Plugins] diff --git a/config/publication-triplestore/virtuoso-production.ini b/config/publication-triplestore/virtuoso-production.ini index c074796..d45dca2 100644 --- a/config/publication-triplestore/virtuoso-production.ini +++ b/config/publication-triplestore/virtuoso-production.ini @@ -231,10 +231,12 @@ DefaultHost = localhost:8890 ;DefaultGraph = http://localhost:8890/dataspace ;ImmutableGraphs = http://localhost:8890/dataspace ResultSetMaxRows = 1000000 ; 1 million +MaxConstructTriples = 10000 ; More info on this addition here: https://github.com/redpencilio/docker-virtuoso/pull/29 ;MaxQueryCostEstimationTime = 4000 ; in seconds MaxQueryExecutionTime = 1200 ; in seconds DefaultQuery = select distinct ?Concept where {[] a ?Concept} LIMIT 100 DeferInferenceRulesInit = 0 ; controls inference rules loading +MaxMemInUse = 0 ; limits the amount of memory for construct dict (0=unlimited). More info on this addition here: https://github.com/redpencilio/docker-virtuoso/pull/29 ;PingService = http://rpc.pingthesemanticweb.com/ [Plugins] diff --git a/config/publication-triplestore/virtuoso.ini b/config/publication-triplestore/virtuoso.ini index fb33835..3b458e2 100755 --- a/config/publication-triplestore/virtuoso.ini +++ b/config/publication-triplestore/virtuoso.ini @@ -231,10 +231,12 @@ DefaultHost = localhost:8890 ;DefaultGraph = http://localhost:8890/dataspace ;ImmutableGraphs = http://localhost:8890/dataspace ResultSetMaxRows = 1000000 ; 1 million +MaxConstructTriples = 10000 ; More info on this addition here: https://github.com/redpencilio/docker-virtuoso/pull/29 ;MaxQueryCostEstimationTime = 4000 ; in seconds MaxQueryExecutionTime = 1200 ; in seconds DefaultQuery = select distinct ?Concept where {[] a ?Concept} LIMIT 100 DeferInferenceRulesInit = 0 ; controls inference rules loading +MaxMemInUse = 0 ; limits the amount of memory for construct dict (0=unlimited). More info on this addition here: https://github.com/redpencilio/docker-virtuoso/pull/29 ;PingService = http://rpc.pingthesemanticweb.com/ [Plugins] From 3747f97a8fef78383a6bf55257e052101e709b1c Mon Sep 17 00:00:00 2001 From: Riad Abdallah Date: Tue, 4 Mar 2025 12:00:16 +0100 Subject: [PATCH 3/3] Update CHANGELOG --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index bb09b59..e575fba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,11 +4,15 @@ - Bump to version [TODO](Link to frontend release) ### Backend - Datafix: move status for municipalities and provinces to the `shared` graph such that it can be read by worship users [OP-3469] +- Bump `triplestore` and `publication-triplestore` to `v1.3.0-rc.1`. [OP-2492] [OP-3547] ### Deploy notes ``` drc restart migrations; drc logs -ft --tail=200 migrations drc pull frontend; drc up -d frontend ``` +#### For upgrade databases +[This README](https://github.com/Riadabd/upgrade-virtuoso) provides the necessary steps for upgrading the database. **NOTE**: This will involve shutting down the app for small period of time (around 30 minutes). + ## v1.30.3 (2025-03-04) ### Frontend