From 587b72363ebf68d03d6e5b3e250d2d0392f9009d Mon Sep 17 00:00:00 2001 From: Carson Ip Date: Mon, 27 Jan 2025 22:34:30 +0000 Subject: [PATCH] Revert "Reapply "Try ppttl=2"" This reverts commit 5f374eff9a0bafd09d66e7425e8e548345a885ed. --- x-pack/apm-server/sampling/eventstorage/storage_manager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/apm-server/sampling/eventstorage/storage_manager.go b/x-pack/apm-server/sampling/eventstorage/storage_manager.go index cb34044728..bb2bd378bd 100644 --- a/x-pack/apm-server/sampling/eventstorage/storage_manager.go +++ b/x-pack/apm-server/sampling/eventstorage/storage_manager.go @@ -33,7 +33,7 @@ const ( // such that the last entry in the previous partition is also kept for a full TTL. // This means storage requirement is 2 * TTL, and it needs to read 2 keys per trace ID read. // If partitionPerTTL=2, storage requirement is 1.5 * TTL at the expense of 3 reads per trace ID read. - partitionsPerTTL = 2 + partitionsPerTTL = 1 // reservedKeyPrefix is the prefix of internal keys used by StorageManager reservedKeyPrefix byte = '~'