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
Add timeout for waiting on compactor to become ACTIVE in the ring. (#4262)
* add MaxRetries to WaitInstanceState
Signed-off-by: Albert <[email protected]>
* update CHANGELOG.md
Signed-off-by: Albert <[email protected]>
* Add timeout for waiting on compactor to become ACTIVE in the ring.
Signed-off-by: Albert <[email protected]>
* add MaxRetries variable back to WaitInstanceState
Signed-off-by: Albert <[email protected]>
* Fix linting issues
Signed-off-by: Albert <[email protected]>
* Remove duplicate entry from changelog
Signed-off-by: Albert <[email protected]>
* Address PR comments and set timeout to be configurable
Signed-off-by: Albert <[email protected]>
* Address PR comments and fix tests
Signed-off-by: Albert <[email protected]>
* Update unit tests
Signed-off-by: Albert <[email protected]>
* Update changelog and fix linting
Signed-off-by: Albert <[email protected]>
* Fixed CHANGELOG entry order
Signed-off-by: Marco Pracucci <[email protected]>
Co-authored-by: Albert <[email protected]>
Co-authored-by: Marco Pracucci <[email protected]>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@
3
3
## master / unreleased
4
4
5
5
*[CHANGE] Querier / ruler: Change `-querier.max-fetched-chunks-per-query` configuration to limit to maximum number of chunks that can be fetched in a single query. The number of chunks fetched by ingesters AND long-term storare combined should not exceed the value configured on `-querier.max-fetched-chunks-per-query`. #4260
6
+
*[ENHANCEMENT] Add timeout for waiting on compactor to become ACTIVE in the ring. #4262
6
7
*[BUGFIX] HA Tracker: when cleaning up obsolete elected replicas from KV store, tracker didn't update number of cluster per user correctly. #4336
f.StringVar(&cfg.InstanceAddr, "compactor.ring.instance-addr", "", "IP address to advertise in the ring.")
60
64
f.IntVar(&cfg.InstancePort, "compactor.ring.instance-port", 0, "Port to advertise in the ring (defaults to server.grpc-listen-port).")
61
65
f.StringVar(&cfg.InstanceID, "compactor.ring.instance-id", hostname, "Instance ID to register in the ring.")
66
+
67
+
// Timeout durations
68
+
f.DurationVar(&cfg.WaitActiveInstanceTimeout, "compactor.ring.wait-active-instance-timeout", 10*time.Minute, "Timeout for waiting on compactor to become ACTIVE in the ring.")
62
69
}
63
70
64
71
// ToLifecyclerConfig returns a LifecyclerConfig based on the compactor
0 commit comments