Skip to content

Commit 0d70bd5

Browse files
committed
Comment additions
1 parent 850e2c1 commit 0d70bd5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

server/src/main/java/org/elasticsearch/repositories/blobstore/BlobStoreRepository.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1835,7 +1835,7 @@ record RootBlobUpdateResult(RepositoryData oldRepositoryData, RepositoryData new
18351835
}));
18361836
}
18371837

1838-
// Write the SnapshotInfo blob (we're already on a SNAPSHOT thread so no need to fork this)
1838+
// Write the SnapshotInfo blob to the repo (we're already on a SNAPSHOT thread so no need to fork this)
18391839
assert ThreadPool.assertCurrentThreadPool(ThreadPool.Names.SNAPSHOT);
18401840
ActionListener.completeWith(allMetaListeners.acquire(), () -> {
18411841
SNAPSHOT_FORMAT.write(snapshotInfo, blobContainer(), snapshotId.getUUID(), compress);

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1406,7 +1406,7 @@ private void finalizeSnapshotEntry(Snapshot snapshot, Metadata metadata, Reposit
14061406
/**
14071407
* Implements the finalization process for a snapshot: does some preparatory calculations, builds a {@link SnapshotInfo} and a
14081408
* {@link FinalizeSnapshotContext}, calls {@link Repository#finalizeSnapshot} and handles the outcome by notifying waiting listeners
1409-
* and triggering the next snapshot-related activity.
1409+
* and triggering the next snapshot-related activity (another finalization, a batch of deletes, etc.)
14101410
*/
14111411
// This only really makes sense to run against a BlobStoreRepository, and the division of work between this class and
14121412
// BlobStoreRepository#finalizeSnapshot is kind of awkward and artificial; TODO consolidate all this stuff into one place and simplify

0 commit comments

Comments
 (0)