@ -107,6 +107,15 @@ Going forward compactor will run compaction and retention on all the object stor
`-compactor.delete-request-store` or its YAML setting should be explicitly configured when retention is enabled, this is required for storing delete requests.
The path prefix under which the delete requests are stored is decided by `-compactor.delete-request-store.key-prefix`, it defaults to `index/`.
#### Configuration `async_cache_write_back_concurrency` and `async_cache_write_back_buffer_size` have been removed
These configurations were redundant with the `Background` configuration in the [cache-config]({{< relref "../../configure#cache_config" >}}).
`async_cache_write_back_concurrency` can be set with `writeback_goroutines`
`async_cache_write_back_buffer_size` can be set with `writeback_buffer`
additionally the `Background` configuration also lest you set `writeback_size_limit` which can be used to set a maximum amount of memory to use for writeback objects vs a count of objects.
#### Configuration `use_boltdb_shipper_as_backup` is removed
The setting `use_boltdb_shipper_as_backup` (`-tsdb.shipper.use-boltdb-shipper-as-backup`) was a remnant from the development of the TSDB storage.
f.IntVar(&cfg.WriteBackGoroutines,prefix+"background.write-back-concurrency",10,description+"At what concurrency to write back to cache.")
f.IntVar(&cfg.WriteBackBuffer,prefix+"background.write-back-buffer",10000,description+"How many key batches to buffer for background write-back.")
_=cfg.WriteBackSizeLimit.Set("1GB")
f.IntVar(&cfg.WriteBackGoroutines,prefix+"background.write-back-concurrency",1,description+"At what concurrency to write back to cache.")
f.IntVar(&cfg.WriteBackBuffer,prefix+"background.write-back-buffer",500000,description+"How many key batches to buffer for background write-back. Default is large to prefer size based limiting.")
_=cfg.WriteBackSizeLimit.Set("500MB")
f.Var(&cfg.WriteBackSizeLimit,prefix+"background.write-back-size-limit",description+"Size limit in bytes for background write-back.")
// AsyncCacheWriteBackConcurrency specifies the number of goroutines to use when asynchronously writing chunks fetched from the store to the chunk cache.
f.IntVar(&cfg.AsyncCacheWriteBackConcurrency,prefix+"max-async-cache-write-back-concurrency",16,"The maximum number of concurrent asynchronous writeback cache can occur.")
f.IntVar(&cfg.AsyncCacheWriteBackBufferSize,prefix+"max-async-cache-write-back-buffer-size",500,"The maximum number of enqueued asynchronous writeback cache allowed.")
f.DurationVar(&cfg.DefaultValidity,prefix+"default-validity",time.Hour,description+"The default validity of entries for caches unless overridden.")