Skip to content

Commit a0f1856

Browse files
(Doc+) Expand watermark resolution (#119174)
* (Doc+) Expand watermark resolution Relaunch #116892 since the original one seems to be outdated and hard to update branch. * Apply suggestions from code review Co-authored-by: shainaraskas <[email protected]> --------- Co-authored-by: shainaraskas <[email protected]>
1 parent c0f3024 commit a0f1856

File tree

1 file changed

+25
-11
lines changed

1 file changed

+25
-11
lines changed

docs/reference/troubleshooting/common-issues/disk-usage-exceeded.asciidoc

+25-11
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ GET _cluster/allocation/explain
5757
[[fix-watermark-errors-temporary]]
5858
==== Temporary Relief
5959

60-
To immediately restore write operations, you can temporarily increase the
60+
To immediately restore write operations, you can temporarily increase
6161
<<disk-based-shard-allocation,disk watermarks>> and remove the
6262
<<index-block-settings,write block>>.
6363

@@ -106,19 +106,33 @@ PUT _cluster/settings
106106
[[fix-watermark-errors-resolve]]
107107
==== Resolve
108108

109-
As a long-term solution, we recommend you do one of the following best suited
110-
to your use case:
109+
To resolve watermark errors permanently, perform one of the following actions:
111110

112-
* add nodes to the affected <<data-tiers,data tiers>>
113-
+
114-
TIP: You should enable <<xpack-autoscaling,autoscaling>> for clusters deployed using our {ess}, {ece}, and {eck} platforms.
111+
* Horizontally scale nodes of the affected <<data-tiers,data tiers>>.
115112

116-
* upgrade existing nodes to increase disk space
117-
+
118-
TIP: On {ess}, https://support.elastic.co[Elastic Support] intervention may
119-
become necessary if <<cluster-health,cluster health>> reaches `status:red`.
113+
* Vertically scale existing nodes to increase disk space.
120114

121-
* delete unneeded indices using the <<indices-delete-index,delete index API>>
115+
* Delete indices using the <<indices-delete-index,delete index API>>, either
116+
permanently if the index isn't needed, or temporarily to later
117+
<<snapshots-restore-snapshot,restore>>.
122118

123119
* update related <<index-lifecycle-management,ILM policy>> to push indices
124120
through to later <<data-tiers,data tiers>>
121+
122+
TIP: On {ess} and {ece}, indices may need to be temporarily deleted via
123+
its {cloud}/ec-api-console.html[Elasticsearch API Console] to later
124+
<<snapshots-restore-snapshot,snapshot restore>> in order to resolve
125+
<<cluster-health,cluster health>> `status:red` which will block
126+
{cloud}/ec-activity-page.html[attempted changes]. If you experience issues
127+
with this resolution flow on {ess}, kindly reach out to
128+
https://support.elastic.co[Elastic Support] for assistance.
129+
130+
== Prevent watermark errors
131+
132+
To avoid watermark errors in future, , perform one of the following actions:
133+
134+
* If you're using {ess}, {ece}, or {eck}: Enable <<xpack-autoscaling,autoscaling>>.
135+
136+
* Set up {kibana-ref}/kibana-alerts.html[stack monitoring alerts] on top of
137+
<<monitor-elasticsearch-cluster,{es} monitoring>> to be notified before
138+
the flood-stage watermark is reached.

0 commit comments

Comments
 (0)