Skip to content

Commit f727d03

Browse files
committed
Do not call the Thanos JSON index header as 'legacy'
Signed-off-by: Marco Pracucci <[email protected]>
1 parent 15b8278 commit f727d03

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/configuration/config-file-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2199,7 +2199,7 @@ bucket_store:
21992199
[meta_sync_concurrency: <int> | default = 20]
22002200
22012201
# Whether the bucket store should use the binary index header. If false, it
2202-
# uses the legacy JSON index header.
2202+
# uses the JSON index header.
22032203
# CLI flag: -experimental.tsdb.bucket-store.binary-index-header-enabled
22042204
[binary_index_header_enabled: <boolean> | default = true]
22052205

docs/operations/blocks-storage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ tsdb:
167167
[meta_sync_concurrency: <int> | default = 20]
168168
169169
# Whether the bucket store should use the binary index header. If false, it
170-
# uses the legacy JSON index header.
170+
# uses the JSON index header.
171171
# CLI flag: -experimental.tsdb.bucket-store.binary-index-header-enabled
172172
[binary_index_header_enabled: <boolean> | default = true]
173173

pkg/storage/tsdb/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ func (cfg *BucketStoreConfig) RegisterFlags(f *flag.FlagSet) {
170170
f.IntVar(&cfg.TenantSyncConcurrency, "experimental.tsdb.bucket-store.tenant-sync-concurrency", 10, "Maximum number of concurrent tenants synching blocks.")
171171
f.IntVar(&cfg.BlockSyncConcurrency, "experimental.tsdb.bucket-store.block-sync-concurrency", 20, "Maximum number of concurrent blocks synching per tenant.")
172172
f.IntVar(&cfg.MetaSyncConcurrency, "experimental.tsdb.bucket-store.meta-sync-concurrency", 20, "Number of Go routines to use when syncing block meta files from object storage per tenant.")
173-
f.BoolVar(&cfg.BinaryIndexHeader, "experimental.tsdb.bucket-store.binary-index-header-enabled", true, "Whether the bucket store should use the binary index header. If false, it uses the legacy JSON index header.")
173+
f.BoolVar(&cfg.BinaryIndexHeader, "experimental.tsdb.bucket-store.binary-index-header-enabled", true, "Whether the bucket store should use the binary index header. If false, it uses the JSON index header.")
174174
f.DurationVar(&cfg.ConsistencyDelay, "experimental.tsdb.bucket-store.consistency-delay", 0, "Minimum age of a block before it's being read. Set it to safe value (e.g 30m) if your object storage is eventually consistent. GCS and S3 are (roughly) strongly consistent.")
175175
}
176176

0 commit comments

Comments
 (0)