diff --git a/docs/generated/settings/settings-for-tenants.txt b/docs/generated/settings/settings-for-tenants.txt index 9cf7981c832e..bbebd6e6f227 100644 --- a/docs/generated/settings/settings-for-tenants.txt +++ b/docs/generated/settings/settings-for-tenants.txt @@ -337,7 +337,7 @@ sql.txn.read_committed_isolation.enabled boolean true set to true to allow trans sql.txn_fingerprint_id_cache.capacity integer 100 the maximum number of txn fingerprint IDs stored application storage.max_sync_duration duration 20s maximum duration for disk operations; any operations that take longer than this setting trigger a warning log entry or process crash system-visible storage.max_sync_duration.fatal.enabled boolean true if true, fatal the process when a disk operation exceeds storage.max_sync_duration application -storage.sstable.compression_algorithm enumeration snappy "determines the compression algorithm to use when compressing sstable data blocks for use in a Pebble store; supported values: ""snappy"", ""zstd"" [snappy = 1, zstd = 2]" system-visible +storage.sstable.compression_algorithm enumeration zstd "determines the compression algorithm to use when compressing sstable data blocks for use in a Pebble store; supported values: ""snappy"", ""zstd"" [snappy = 1, zstd = 2]" system-visible storage.sstable.compression_algorithm_backup_storage enumeration snappy "determines the compression algorithm to use when compressing sstable data blocks for backup row data storage; supported values: ""snappy"", ""zstd"" [snappy = 1, zstd = 2]" system-visible storage.sstable.compression_algorithm_backup_transport enumeration snappy "determines the compression algorithm to use when compressing sstable data blocks for backup transport; supported values: ""snappy"", ""zstd"" [snappy = 1, zstd = 2]" system-visible timeseries.storage.resolution_10s.ttl duration 240h0m0s the maximum age of time series data stored at the 10 second resolution. Data older than this is subject to rollup and deletion. system-visible diff --git a/docs/generated/settings/settings.html b/docs/generated/settings/settings.html index cba313690880..5b740a8b3fea 100644 --- a/docs/generated/settings/settings.html +++ b/docs/generated/settings/settings.html @@ -290,7 +290,7 @@
storage.ingest_split.enabled
booleantrueset to false to disable ingest-time splitting that lowers write-amplificationDedicated/Self-Hosted
storage.max_sync_duration
duration20smaximum duration for disk operations; any operations that take longer than this setting trigger a warning log entry or process crashDedicated/Self-hosted (read-write); Serverless (read-only)
storage.max_sync_duration.fatal.enabled
booleantrueif true, fatal the process when a disk operation exceeds storage.max_sync_durationServerless/Dedicated/Self-Hosted -
storage.sstable.compression_algorithm
enumerationsnappydetermines the compression algorithm to use when compressing sstable data blocks for use in a Pebble store; supported values: "snappy", "zstd" [snappy = 1, zstd = 2]Dedicated/Self-hosted (read-write); Serverless (read-only) +
storage.sstable.compression_algorithm
enumerationzstddetermines the compression algorithm to use when compressing sstable data blocks for use in a Pebble store; supported values: "snappy", "zstd" [snappy = 1, zstd = 2]Dedicated/Self-hosted (read-write); Serverless (read-only)
storage.sstable.compression_algorithm_backup_storage
enumerationsnappydetermines the compression algorithm to use when compressing sstable data blocks for backup row data storage; supported values: "snappy", "zstd" [snappy = 1, zstd = 2]Dedicated/Self-hosted (read-write); Serverless (read-only)
storage.sstable.compression_algorithm_backup_transport
enumerationsnappydetermines the compression algorithm to use when compressing sstable data blocks for backup transport; supported values: "snappy", "zstd" [snappy = 1, zstd = 2]Dedicated/Self-hosted (read-write); Serverless (read-only)
storage.wal_failover.unhealthy_op_threshold
duration100msthe latency of a WAL write considered unhealthy and triggers a failover to a secondary WAL locationDedicated/Self-Hosted diff --git a/pkg/kv/kvnemesis/testdata/TestApplier/addsstable b/pkg/kv/kvnemesis/testdata/TestApplier/addsstable index 95e90ad7273a..f6fe8f047552 100644 --- a/pkg/kv/kvnemesis/testdata/TestApplier/addsstable +++ b/pkg/kv/kvnemesis/testdata/TestApplier/addsstable @@ -1,6 +1,6 @@ echo ---- -db0.AddSSTable(ctx, tk(1), tk(4), ... /* @s1 */) // 1004 bytes (as writes) +db0.AddSSTable(ctx, tk(1), tk(4), ... /* @s1 */) // 1009 bytes (as writes) // ^-- tk(1) -> sv(s1): /Table/100/"0000000000000001"/ -> /BYTES/v1 // ^-- tk(2) -> sv(s1): /Table/100/"0000000000000002"/ -> / // ^-- [tk(3), tk(4)) -> sv(s1): /Table/100/"000000000000000{3"-4"} -> / diff --git a/pkg/kv/kvnemesis/testdata/TestOperationsFormat/4 b/pkg/kv/kvnemesis/testdata/TestOperationsFormat/4 index 92de55a844f0..eba6e3e4a3d6 100644 --- a/pkg/kv/kvnemesis/testdata/TestOperationsFormat/4 +++ b/pkg/kv/kvnemesis/testdata/TestOperationsFormat/4 @@ -1,6 +1,6 @@ echo ---- -···db0.AddSSTable(ctx, tk(1), tk(4), ... /* @s1 */) // 1004 bytes (as writes) +···db0.AddSSTable(ctx, tk(1), tk(4), ... /* @s1 */) // 1009 bytes (as writes) ···// ^-- tk(1) -> sv(s1): /Table/100/"0000000000000001"/0.000000001,0 -> /BYTES/v1 ···// ^-- tk(2) -> sv(s1): /Table/100/"0000000000000002"/0.000000001,0 -> / ···// ^-- [tk(3), tk(4)) -> sv(s1): /Table/100/"000000000000000{3"-4"} -> / diff --git a/pkg/kv/kvnemesis/testdata/TestValidate/addsstable_ingestion b/pkg/kv/kvnemesis/testdata/TestValidate/addsstable_ingestion index 9b6f07cc8c7c..3b2793dfaaa4 100644 --- a/pkg/kv/kvnemesis/testdata/TestValidate/addsstable_ingestion +++ b/pkg/kv/kvnemesis/testdata/TestValidate/addsstable_ingestion @@ -1,6 +1,6 @@ echo ---- -db0.AddSSTable(ctx, tk(1), tk(4), ... /* @s1 */) // 1004 bytes +db0.AddSSTable(ctx, tk(1), tk(4), ... /* @s1 */) // 1009 bytes // ^-- tk(1) -> sv(s1): /Table/100/"0000000000000001"/0.000000001,0 -> /BYTES/v1 // ^-- tk(2) -> sv(s1): /Table/100/"0000000000000002"/0.000000001,0 -> / // ^-- [tk(3), tk(4)) -> sv(s1): /Table/100/"000000000000000{3"-4"} -> / diff --git a/pkg/kv/kvnemesis/testdata/TestValidate/addsstable_ingestion_shadowing_scan b/pkg/kv/kvnemesis/testdata/TestValidate/addsstable_ingestion_shadowing_scan index 9bbd4dc6558b..bf55547ef07c 100644 --- a/pkg/kv/kvnemesis/testdata/TestValidate/addsstable_ingestion_shadowing_scan +++ b/pkg/kv/kvnemesis/testdata/TestValidate/addsstable_ingestion_shadowing_scan @@ -4,7 +4,7 @@ db0.Put(ctx, tk(1), sv(1)) // @0.000000001,0 db0.Put(ctx, tk(2), sv(1)) // @0.000000001,0 db0.Put(ctx, tk(3), sv(1)) // @0.000000001,0 db0.Put(ctx, tk(4), sv(1)) // @0.000000001,0 -db0.AddSSTable(ctx, tk(1), tk(4), ... /* @s2 */) // 1005 bytes +db0.AddSSTable(ctx, tk(1), tk(4), ... /* @s2 */) // 1009 bytes // ^-- tk(1) -> sv(s2): /Table/100/"0000000000000001"/0.000000001,0 -> /BYTES/v2 // ^-- tk(2) -> sv(s2): /Table/100/"0000000000000002"/0.000000001,0 -> / // ^-- [tk(3), tk(4)) -> sv(s2): /Table/100/"000000000000000{3"-4"} -> / diff --git a/pkg/storage/pebble.go b/pkg/storage/pebble.go index 53e6f4b8ce22..569aa9c0330e 100644 --- a/pkg/storage/pebble.go +++ b/pkg/storage/pebble.go @@ -171,7 +171,7 @@ var CompressionAlgorithmStorage = RegisterCompressionAlgorithmClusterSetting( "storage.sstable.compression_algorithm", `determines the compression algorithm to use when compressing sstable data blocks for use in a Pebble store;`+ ` supported values: "snappy", "zstd"`, - CompressionAlgorithmSnappy.String(), // Default. + CompressionAlgorithmZstd.String(), // Default. ) // CompressionAlgorithmBackupStorage determines the compression algorithm used