From b6a2c39a26a0898d1188dd36c8cf2c184fee636c Mon Sep 17 00:00:00 2001 From: Joonas Koivunen Date: Thu, 15 Aug 2024 12:24:38 +0000 Subject: [PATCH] bench: lower attach concurrency it has been observed that we get transaction serialization issues otherwise. evidence: https://neon-github-public-dev.s3.amazonaws.com/reports/main/10402057346/index.html#suites/c62b105f3a4f00dd6be4ad88810e0e02/7c03011d9dbd5ec4/ --- test_runner/fixtures/pageserver/many_tenants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_runner/fixtures/pageserver/many_tenants.py b/test_runner/fixtures/pageserver/many_tenants.py index 3e0ffabf743c..1a876330420d 100644 --- a/test_runner/fixtures/pageserver/many_tenants.py +++ b/test_runner/fixtures/pageserver/many_tenants.py @@ -65,7 +65,7 @@ def attach(tenant): override_storage_controller_generation=True, ) - with concurrent.futures.ThreadPoolExecutor(max_workers=22) as executor: + with concurrent.futures.ThreadPoolExecutor(max_workers=1) as executor: executor.map(attach, tenants) # Benchmarks will start the pageserver explicitly themselves