You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Cache metafiles and iteration results when scanning bucket for blocks.
Signed-off-by: Peter Štibraný <[email protected]>
* Update Thanos to latest master (with fix for metrics and data race)
Signed-off-by: Peter Štibraný <[email protected]>
* Replace storecache.MemcachedBucketCacheProvider with own constant
Signed-off-by: Peter Štibraný <[email protected]>
* Added CHANGELOG.md entry.
Signed-off-by: Peter Štibraný <[email protected]>
* Documentation for metadata cache.
Signed-off-by: Peter Štibraný <[email protected]>
* Documentation for metadata cache.
Signed-off-by: Peter Štibraný <[email protected]>
* Fix json tag, add inline for consistency.
Signed-off-by: Peter Štibraný <[email protected]>
* Fix documentation.
Signed-off-by: Peter Štibraný <[email protected]>
* Use snappy-compression for all iter results.
Signed-off-by: Peter Štibraný <[email protected]>
* Rename ObjectSizeTTL to AttributesTTL.
Signed-off-by: Peter Štibraný <[email protected]>
* Fix documentation.
Signed-off-by: Peter Štibraný <[email protected]>
* Fix help.
Signed-off-by: Peter Štibraný <[email protected]>
* Fix documentation, again. 🤦
Signed-off-by: Peter Štibraný <[email protected]>
*[ENHANCEMENT] Experimental TSDB: Use shared cache for metadata. This is especially useful when running multiple querier and store-gateway components to reduce number of object store API calls. #2626
43
44
*[BUGFIX] Ruler: Ensure temporary rule files with special characters are properly mapped and cleaned up. #2506
44
45
*[BUGFIX] Fixes #2411, Ensure requests are properly routed to the prometheus api embedded in the query if `-server.path-prefix` is set. #2372
45
46
*[BUGFIX] Experimental TSDB: fixed chunk data corruption when querying back series using the experimental blocks storage. #2400
Copy file name to clipboardExpand all lines: docs/operations/blocks-storage.md
+86-3Lines changed: 86 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -111,6 +111,14 @@ To enable chunks cache, please set `-experimental.tsdb.bucket-store.chunks-cache
111
111
112
112
There are additional low-level options for configuring chunks cache. Please refer to other flags with `experimental.tsdb.bucket-store.chunks-cache` prefix.
113
113
114
+
## Metadata cache
115
+
116
+
Store-gateway and querier can use memcached for storing metadata: list of users, list of blocks per user, meta.json files and deletion mark files. Using the cache can reduce number of API calls to object storage significantly.
117
+
118
+
To enable metadata cache, please set `-experimental.tsdb.bucket-store.metadata-cache.backend`. Only `memcached` backend is supported currently. Memcached client has additional configuration available via flags with `-experimental.tsdb.bucket-store.metadata-cache.memcached` prefix.
119
+
120
+
Additional options for configuring metadata cache have `-experimental.tsdb.bucket-store.metadata-cache.` prefix. By configuring TTL to zero or negative value, caching of given item type is disabled.
121
+
114
122
## Configuration
115
123
116
124
The general [configuration documentation](../configuration/_index.md) also applied to a Cortex cluster running the blocks storage, with few differences:
Copy file name to clipboardExpand all lines: docs/operations/blocks-storage.template
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -111,6 +111,14 @@ To enable chunks cache, please set `-experimental.tsdb.bucket-store.chunks-cache
111
111
112
112
There are additional low-level options for configuring chunks cache. Please refer to other flags with `experimental.tsdb.bucket-store.chunks-cache` prefix.
113
113
114
+
## Metadata cache
115
+
116
+
Store-gateway and querier can use memcached for storing metadata: list of users, list of blocks per user, meta.json files and deletion mark files. Using the cache can reduce number of API calls to object storage significantly.
117
+
118
+
To enable metadata cache, please set `-experimental.tsdb.bucket-store.metadata-cache.backend`. Only `memcached` backend is supported currently. Memcached client has additional configuration available via flags with `-experimental.tsdb.bucket-store.metadata-cache.memcached` prefix.
119
+
120
+
Additional options for configuring metadata cache have `-experimental.tsdb.bucket-store.metadata-cache.` prefix. By configuring TTL to zero or negative value, caching of given item type is disabled.
121
+
114
122
## Configuration
115
123
116
124
The general [configuration documentation](../configuration/_index.md) also applied to a Cortex cluster running the blocks storage, with few differences:
0 commit comments