Skip to content

Commit 0a24172

Browse files
original-brownbearAdam Locke
andcommitted
Remove Outdated Snapshot Docs (elastic#61684)
Removing some now outdated statements that refer to a time when snapshot operations could not run concurrently. Closes elastic#61680 Co-authored-by: Adam Locke <adam.locke@elastic.co>
1 parent 43cb7c4 commit 0a24172

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

docs/reference/snapshot-restore/monitor-snapshot-restore.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,8 @@ detailed insight into the current state of the recovery process by using <<indic
151151
[discrete]
152152
[[get-snapshot-stop-snapshot]]
153153
=== Stop snapshot and restore operations
154-
The snapshot and restore framework allows running only one snapshot or one restore operation at a time. If a currently
155-
running snapshot was started by mistake, or takes unusually long, it can be stopped using the <<delete-snapshot-api,delete snapshot API>>.
154+
To stop a currently running snapshot that was started by mistake or is taking unusually long, use
155+
the <<delete-snapshot-api,delete snapshot API>>.
156156
This operation checks whether the deleted snapshot is currently running. If it is, the delete snapshot operation stops
157157
that snapshot before deleting the snapshot data from the repository.
158158

docs/reference/snapshot-restore/take-snapshot.asciidoc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,7 @@ Besides creating a copy of each data stream and index, the snapshot process can
8080
cluster settings and templates. The transient settings and registered snapshot repositories are not stored as part of
8181
the snapshot.
8282

83-
Only one snapshot process can be started in the cluster at any time. While a
84-
snapshot of a particular shard is being
83+
While a snapshot of a particular shard is being
8584
created, this shard cannot be moved to another node, which can interfere with rebalancing and allocation
8685
filtering. {es} can only move a shard to another node (according to the current allocation
8786
filtering settings and rebalancing algorithm) after the snapshot process

server/src/main/java/org/elasticsearch/snapshots/SnapshotShardsService.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,9 +194,6 @@ private void cancelRemoved(SnapshotsInProgress snapshotsInProgress) {
194194
}
195195

196196
private void startNewSnapshots(SnapshotsInProgress snapshotsInProgress) {
197-
// For now we will be mostly dealing with a single snapshot at a time but might have multiple simultaneously running
198-
// snapshots in the future
199-
// Now go through all snapshots and update existing or create missing
200197
final String localNodeId = clusterService.localNode().getId();
201198
for (SnapshotsInProgress.Entry entry : snapshotsInProgress.entries()) {
202199
final State entryState = entry.state();

0 commit comments

Comments
 (0)