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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,16 +48,19 @@ Main (unreleased)
48
48
49
49
- Fix direction of arrows for pyroscope components in UI graph. (@dehaansa)
50
50
51
+
- Fix an issue where component shutdown could block indefinitely by adding a warning log message and a deadline of 10 minutes. The deadline can be configured with the `--feature.component-shutdown-deadline` flag if the default is not suitable. (@thampiotr)
52
+
51
53
v1.11.1
52
54
-----------------
53
55
56
+
### Bugfixes
57
+
54
58
- Fix potential deadlock in `loki.source.journal` when stopping or reloading the component. (@thampiotr)
55
59
56
60
- Honor sync timeout when waiting for network availability for prometheus.operator.* components. (@dehaansa)
57
61
58
62
- Fix `prometheus.exporter.cloudwatch` to not always emit debug logs but respect debug property. (@kalleep)
Copy file name to clipboardExpand all lines: docs/sources/reference/cli/run.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
@@ -65,6 +65,7 @@ The following flags are supported:
65
65
*`--config.extra-args`: Extra arguments from the original format used by the converter.
66
66
*`--stability.level`: The minimum permitted stability level of functionality. Supported values: `experimental`, `public-preview`, and `generally-available` (default `"generally-available"`).
67
67
*`--feature.community-components.enabled`: Enable community components (default `false`).
68
+
*`--feature.component-shutdown-deadline`: Maximum duration to wait for a component to shut down before giving up and logging an error (default `"10m"`).
68
69
*`--windows.priority`: The priority to set for the {{< param "PRODUCT_NAME" >}} process when running on Windows. This is only available on Windows. Supported values: `above_normal`, `below_normal`, `normal`, `high`, `idle`, or `realtime` (default `"normal"`).
@@ -166,6 +167,7 @@ depending on the nature of the reload error.
166
167
ifruntime.GOOS=="windows" {
167
168
cmd.Flags().StringVar(&r.windowsPriority, "windows.priority", r.windowsPriority, fmt.Sprintf("Process priority to use when running on windows. This flag is currently in public preview. Supported values: %s", strings.Join(slices.Collect(windowspriority.PriorityValues()), ", ")))
168
169
}
170
+
cmd.Flags().DurationVar(&r.taskShutdownDeadline, "feature.component-shutdown-deadline", r.taskShutdownDeadline, "Maximum duration to wait for a component to shut down before giving up and logging an error")
0 commit comments