Skip to content

Commit 38e3c09

Browse files
authored
Remove soft limit for snapshot repositories (#118634)
With elastic/elasticsearch#74350, we no longer recommend a 200 snapshot soft limit for snapshot repositories or SLM policies. This removes a related sentence from the Snapshot Policy UI. It also updates the docs link to point to the [create snapshot docs](https://www.elastic.co/guide/en/elasticsearch/reference/master/snapshots-take-snapshot.html), which include guidance on snapshot retention, rather than the [put SLM policy API docs](https://www.elastic.co/guide/en/elasticsearch/reference/master/slm-api-put-policy.html). Relates to elastic/elasticsearch#80745
1 parent c983bd9 commit 38e3c09

File tree

4 files changed

+6
-10
lines changed

4 files changed

+6
-10
lines changed

x-pack/plugins/snapshot_restore/public/application/components/policy_form/steps/step_retention.tsx

+3-7
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import {
1616
EuiButtonEmpty,
1717
EuiFieldNumber,
1818
EuiSelect,
19-
EuiCode,
2019
} from '@elastic/eui';
2120

2221
import { SlmPolicyPayload } from '../../../../../common/types';
@@ -139,10 +138,7 @@ export const PolicyStepRetention: React.FunctionComponent<StepProps> = ({
139138
description={
140139
<FormattedMessage
141140
id="xpack.snapshotRestore.policyForm.stepRetention.countDescription"
142-
defaultMessage="The minimum and maximum number of snapshots to store in your cluster. It should not exceed {maxNumber}."
143-
values={{
144-
maxNumber: <EuiCode>200</EuiCode>,
145-
}}
141+
defaultMessage="The minimum and maximum number of snapshots to store for the policy."
146142
/>
147143
}
148144
fullWidth
@@ -225,13 +221,13 @@ export const PolicyStepRetention: React.FunctionComponent<StepProps> = ({
225221
<EuiButtonEmpty
226222
size="s"
227223
flush="right"
228-
href={docLinks.links.apis.putSnapshotLifecyclePolicy}
224+
href={docLinks.links.snapshotRestore.createSnapshot}
229225
target="_blank"
230226
iconType="help"
231227
>
232228
<FormattedMessage
233229
id="xpack.snapshotRestore.policyForm.stepRetention.docsButtonLabel"
234-
defaultMessage="Snapshot retention docs"
230+
defaultMessage="Snapshot docs"
235231
/>
236232
</EuiButtonEmpty>
237233
</EuiFlexItem>

x-pack/plugins/snapshot_restore/public/application/components/policy_form/steps/step_settings/step_settings.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ export const PolicyStepSettings: React.FunctionComponent<StepProps> = ({
191191
>
192192
<FormattedMessage
193193
id="xpack.snapshotRestore.policyForm.stepSettings.docsButtonLabel"
194-
defaultMessage="Snapshot settings docs"
194+
defaultMessage="Snapshot docs"
195195
/>
196196
</EuiButtonEmpty>
197197
</EuiFlexItem>

x-pack/plugins/translations/translations/ja-JP.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -22989,7 +22989,7 @@
2298922989
"xpack.snapshotRestore.policyForm.stepLogistics.snapshotNameDescription": "スナップショットの名前です。それぞれの名前に自動的に追加される固有の識別子です。",
2299022990
"xpack.snapshotRestore.policyForm.stepLogistics.snapshotNameDescriptionTitle": "スナップショット名",
2299122991
"xpack.snapshotRestore.policyForm.stepLogisticsTitle": "ロジスティクス",
22992-
"xpack.snapshotRestore.policyForm.stepRetention.countDescription": "クラスターに格納するスナップショットの最少数と最大数。{maxNumber} 以下でなければなりません。",
22992+
"xpack.snapshotRestore.policyForm.stepRetention.countDescription": "クラスターに格納するスナップショットの最少数と最大数。",
2299322993
"xpack.snapshotRestore.policyForm.stepRetention.countTitle": "保存するスナップショット",
2299422994
"xpack.snapshotRestore.policyForm.stepRetention.docsButtonLabel": "スナップショット保存ドキュメント",
2299522995
"xpack.snapshotRestore.policyForm.stepRetention.expirationDescription": "スナップショットの削除までに待つ時間です。",

x-pack/plugins/translations/translations/zh-CN.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -23376,7 +23376,7 @@
2337623376
"xpack.snapshotRestore.policyForm.stepLogistics.snapshotNameDescription": "快照的名称。唯一标识符将自动添加到每个名称中。",
2337723377
"xpack.snapshotRestore.policyForm.stepLogistics.snapshotNameDescriptionTitle": "快照名称",
2337823378
"xpack.snapshotRestore.policyForm.stepLogisticsTitle": "运筹",
23379-
"xpack.snapshotRestore.policyForm.stepRetention.countDescription": "在您的集群中要存储的最小和最大快照数目。不应超过 {maxNumber}。",
23379+
"xpack.snapshotRestore.policyForm.stepRetention.countDescription": "在您的集群中要存储的最小和最大快照数目。",
2338023380
"xpack.snapshotRestore.policyForm.stepRetention.countTitle": "要保留的快照",
2338123381
"xpack.snapshotRestore.policyForm.stepRetention.docsButtonLabel": "快照保留文档",
2338223382
"xpack.snapshotRestore.policyForm.stepRetention.expirationDescription": "删除快照前要等候的时间。",

0 commit comments

Comments
 (0)