From 683ec6228d40c5f540a347b79e74fce1d40b1533 Mon Sep 17 00:00:00 2001 From: Ivan Shvedunov Date: Thu, 22 Aug 2024 18:20:52 +0000 Subject: [PATCH] Use VACUUM when migrating from DB versions below 21 (#6283) ## Motivation We need to vacuum the DB after migrations, and with #6085 merged, we need to use VACUUM INTO based migration for recent DB schema updates --- config/mainnet.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/mainnet.go b/config/mainnet.go index 30d6a71e09..f970c851cc 100644 --- a/config/mainnet.go +++ b/config/mainnet.go @@ -79,7 +79,7 @@ func MainnetConfig() Config { MetricsPort: 1010, DatabaseConnections: 16, DatabasePruneInterval: 30 * time.Minute, - DatabaseVacuumState: 15, + DatabaseVacuumState: 21, PruneActivesetsFrom: 12, // starting from epoch 13 activesets below 12 will be pruned NetworkHRP: "sm",