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
Enable compactor to use 'TokensFilePath' on ring lifecycler (#5432)
* Enable compactor to use on ring lifecycler
Signed-off-by: Daniel Deluiggi <[email protected]>
* Add changelog
Signed-off-by: Daniel Deluiggi <[email protected]>
---------
Signed-off-by: Daniel Deluiggi <[email protected]>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,7 @@
20
20
*[FEATURE] Added the flag `-alertmanager.api-concurrency` to configure alert manager api concurrency limit. #5412
21
21
*[FEATURE] Store Gateway: Add `-store-gateway.sharding-ring.keep-instance-in-the-ring-on-shutdown` to skip unregistering instance from the ring in shutdown. #5421
22
22
*[FEATURE] Ruler: Support for filtering rules in the API. #5417
23
+
*[FEATURE] Compactor: Add `-compactor.ring.tokens-file-path` to store generated tokens locally. #5432
23
24
*[ENHANCEMENT] Distributor/Ingester: Add span on push path #5319
24
25
*[ENHANCEMENT] Support object storage backends for runtime configuration file. #5292
25
26
*[ENHANCEMENT] Query Frontend: Reject subquery with too small step size. #5323
f.StringVar(&cfg.InstanceAddr, "compactor.ring.instance-addr", "", "IP address to advertise in the ring.")
64
65
f.IntVar(&cfg.InstancePort, "compactor.ring.instance-port", 0, "Port to advertise in the ring (defaults to server.grpc-listen-port).")
65
66
f.StringVar(&cfg.InstanceID, "compactor.ring.instance-id", hostname, "Instance ID to register in the ring.")
67
+
f.StringVar(&cfg.TokensFilePath, "compactor.ring.tokens-file-path", "", "File path where tokens are stored. If empty, tokens are not stored at shutdown and restored at startup.")
66
68
67
69
// Timeout durations
68
70
f.DurationVar(&cfg.WaitActiveInstanceTimeout, "compactor.ring.wait-active-instance-timeout", 10*time.Minute, "Timeout for waiting on compactor to become ACTIVE in the ring.")
0 commit comments