Skip to content

Commit

Permalink
Revert "Reapply "Try ppttl=2""
Browse files Browse the repository at this point in the history
This reverts commit 5f374ef.
  • Loading branch information
carsonip committed Jan 27, 2025
1 parent a512880 commit 587b723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/apm-server/sampling/eventstorage/storage_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '~'
Expand Down

0 comments on commit 587b723

Please sign in to comment.