potentially more robust: long-running operation only for build master, not workers;
authorwenzelm
Sat, 15 Jul 2023 20:08:19 +0200
changeset 78349 a9b544b6fc60
parent 78348 cd9c91ecbcb4
child 78350 db76217fe9b6
potentially more robust: long-running operation only for build master, not workers;
src/Pure/Tools/build_process.scala
--- a/src/Pure/Tools/build_process.scala	Sat Jul 15 19:55:32 2023 +0200
+++ b/src/Pure/Tools/build_process.scala	Sat Jul 15 20:08:19 2023 +0200
@@ -859,7 +859,7 @@
           Build_Process.Data.clean_build(db)
           store_tables.lock(db, create = true)
         }
-        db.vacuum(Build_Process.Data.tables ::: store_tables)
+        if (build_context.master) db.vacuum(Build_Process.Data.tables ::: store_tables)
         db
       }
     }