From b2af907ddb72a54f27127081dcb71c4da7246464 Mon Sep 17 00:00:00 2001 From: Tor Brede Vekterli Date: Wed, 29 Nov 2023 16:43:26 +0100 Subject: Reduce unit test ZooKeeper WAL file preallocations by three orders of magnitude ZK will by default preallocate 65536 * 1024 bytes for its write-ahead log file. This will happen for every test instantiation of the ZooKeeper database. Now, I like wearing out SSD flash cells as much as the next guy, but this just feels silly. Input number is always multiplied by 1024, so reduce down to 64 to get a 64k preallocation instead. --- clustercontroller-core/pom.xml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/clustercontroller-core/pom.xml b/clustercontroller-core/pom.xml index 8bdfb25e221..7f845a26c73 100644 --- a/clustercontroller-core/pom.xml +++ b/clustercontroller-core/pom.xml @@ -137,6 +137,10 @@ 4 5 + + + 64 + -- cgit v1.2.3