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
As discussed during the caching retro, this PR removes the experimental
distributed cache based on Mailgun's fork of groupcache.
Signed-off-by: Kaviraj <kavirajkanagaraj@gmail.com>
Co-authored-by: Kaviraj <kavirajkanagaraj@gmail.com>
Copy file name to clipboardExpand all lines: docs/sources/upgrading/_index.md
+3-5Lines changed: 3 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,11 +43,9 @@ Previously, we had two configurations to define a query timeout: `engine.timeout
43
43
As they were conflicting and `engine.timeout` isn't as expressive as `querier.query-tiomeout`,
44
44
we're deprecating it in favor of relying on `engine.query-timeout` only.
45
45
46
-
#### Fifocache is deprecated
46
+
#### `fifocache` has been renamed
47
47
48
-
We introduced a new cache called `embedded-cache` which is an in-process cache system that make it possible to run Loki without the need for an external cache (like Memcached, Redis, etc). It can be run in two modes `distributed: false` (default, and same as old `fifocache`) and `distributed: true` which runs cache in distributed fashion sharding keys across peers if Loki is run in microservices or SSD mode.
49
-
50
-
Currently `embedded-cache` with `distributed: true` can be enabled only for results cache.
48
+
The in-memory `fifocache` has been renamed to `embedded-cache`. This allows us to replace the implementation (currently a simple FIFO datastructure) with something else in the future without causing confusion
51
49
52
50
#### Evenly spread Memcached pods for chunks across kubernetes nodes
53
51
@@ -98,7 +96,7 @@ The global `deletion_mode` option in the compactor configuration moved to runtim
98
96
- The `deletion_mode` global override needs to be set to the desired mode: `disabled`, `filter-only`, or `filter-and-delete`. By default, `filter-and-delete` is enabled.
99
97
- Any `allow_delete` per-tenant overrides need to be removed or changed to `deletion_mode` overrides with the desired mode.
100
98
101
-
#### Metric name for `loki_log_messages_total` changed
99
+
#### Metric name for `loki_log_messages_total` changed
102
100
103
101
The name of this metric was changed to `loki_internal_log_messages_total` to reduce ambiguity. The previous name is still present but is deprecated.
// CompactorAddress is the http address of the compactor in the form http://host:port
46
45
CompactorAddressstring`yaml:"compactor_address"`
47
-
48
-
// Global embedded-cache config. Independent of what type of cache, we need some singleton configs like Ring configuration when running in distributed fashion.
throwaway.Var((*flagext.StringSlice)(&c.InstanceInterfaceNames), "common.instance-interface-names", "List of network interfaces to read address from.")
62
58
63
59
f.StringVar(&c.CompactorAddress, "common.compactor-address", "", "the http address of the compactor in the form http://host:port")
0 commit comments