Repository navigation
Conversation
# Conflicts: # modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/schema/IgniteSchema.java
There was a problem hiding this comment.
🟡 Changes recommended
Unresolved critical feature-ID compatibility and moderate snapshot metadata validation findings remain.
1 open issue
What changed in this PR
Adds control.sh|bat --snapshot list to enumerate snapshots, metadata, sizes, incremental parts, and external storage usage.
Changes:
- Adds snapshot-list commands, tasks, DTOs, and output formatting.
- Adds feature gating, documentation, help updates, and extensive tests.
- Updates snapshot metadata handling and test utilities.
| File | Description |
|---|---|
modules/ducktests/src/main/java/org/apache/ignite/internal/ducktest/tests/ContinuousDataLoadApplication.java |
Corrects a typo. |
modules/core/src/test/resources/org.apache.ignite.util/GridCommandHandlerClusterByClassWithSSLTest_help.output |
Updates CLI help. |
modules/core/src/test/resources/org.apache.ignite.util/GridCommandHandlerClusterByClassTest_help.output |
Updates CLI help. |
modules/core/src/test/java/org/apache/ignite/testsuites/IgniteSnapshotTestSuite9.java |
Adds snapshot-list test suite. |
modules/core/src/test/java/org/apache/ignite/internal/processors/rollingupgrade/feature/TestIgniteReleaseFeatures_2_19_4.java |
Adds release feature definitions. |
modules/core/src/test/java/org/apache/ignite/internal/processors/rollingupgrade/AbstractRollingUpgradeTest.java |
Updates release feature coverage. |
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/incremental/IncrementalSnapshotNodeFailureTest.java |
Updates snapshot manager access. |
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/incremental/AbstractIncrementalSnapshotTest.java |
Updates snapshot manager access. |
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/IgniteClusterSnapshotListTest.java |
Adds snapshot-list tests. |
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/IgniteClusterSnapshotListRollingUpgradeTest.java |
Adds rolling-upgrade tests. |
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/AbstractSnapshotSelfTest.java |
Generalizes snapshot helpers. |
modules/core/src/main/java/org/apache/ignite/internal/processors/rollingupgrade/feature/CoreFeatureRegistry.java |
Registers the snapshot-list feature. |
modules/core/src/main/java/org/apache/ignite/internal/processors/metastorage/persistence/DistributedMetaStorageImpl.java |
Corrects a typo. |
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/SnapshotMetadataVerificationTask.java |
Adds TODO documentation. |
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/SnapshotListTaskResult.java |
Adds aggregate result DTO. |
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/SnapshotListJobResult.java |
Adds per-node result DTO. |
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/SnapshotCheckProcess.java |
Corrects a typo. |
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/IgniteSnapshotManager.java |
Supports tolerant metadata reads. |
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/filename/SnapshotFileTree.java |
Documents path limitations. |
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionsSingleMessage.java |
Corrects a typo. |
modules/core/src/main/java/org/apache/ignite/internal/management/snapshot/SnapshotListTask.java |
Implements snapshot discovery and sizing. |
modules/core/src/main/java/org/apache/ignite/internal/management/snapshot/SnapshotListCommandArg.java |
Adds the --src argument. |
modules/core/src/main/java/org/apache/ignite/internal/management/snapshot/SnapshotListCommand.java |
Formats command output. |
modules/core/src/main/java/org/apache/ignite/internal/management/snapshot/SnapshotCommand.java |
Registers the list subcommand. |
modules/control-utility/src/test/java/org/apache/ignite/util/GridCommandHandlerListSnapshotTest.java |
Adds CLI tests. |
modules/control-utility/src/test/java/org/apache/ignite/util/GridCommandHandlerAbstractTest.java |
Refactors test cache setup. |
modules/control-utility/src/test/java/org/apache/ignite/testsuites/IgniteControlUtilityTestSuite6.java |
Adds CLI test suite. |
docs/_docs/snapshots/snapshots.adoc |
Documents snapshot listing. |
Review effort: Lite
zstan
reviewed
Oct 19, 2026
…s-command-to-control.sh' into IGNITE-29056-Introduce-snapshot-lists-command-to-control.sh
…and-to-control.sh # Conflicts: # modules/core/src/main/java/org/apache/ignite/internal/processors/rollingupgrade/feature/CoreFeatureRegistry.java
…and-to-control.sh # Conflicts: # modules/core/src/main/java/org/apache/ignite/internal/processors/rollingupgrade/feature/CoreFeatureRegistry.java
…and-to-control.sh-dev # Conflicts: # docs/_docs/snapshots/snapshots.adoc # modules/control-utility/src/test/java/org/apache/ignite/testsuites/IgniteControlUtilityTestSuite6.java # modules/core/src/main/java/org/apache/ignite/internal/management/snapshot/SnapshotCommand.java # modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/IgniteSnapshotManager.java # modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/SnapshotMetadataVerificationTask.java # modules/core/src/main/java/org/apache/ignite/internal/processors/rollingupgrade/feature/CoreFeatureRegistry.java # modules/core/src/test/java/org/apache/ignite/testsuites/IgniteSnapshotTestSuite9.java # modules/core/src/test/resources/org.apache.ignite.util/GridCommandHandlerClusterByClassTest_help.output # modules/core/src/test/resources/org.apache.ignite.util/GridCommandHandlerClusterByClassWithSSLTest_help.output
…l.sh-dev' into IGNITE-29056-Introduce-snapshot-lists-command-to-control.sh
…and-to-control.sh
zstan
reviewed
Oct 26, 2026
zstan
left a comment
Contributor
There was a problem hiding this comment.
Plz fix (or reply) last comments
Comment on lines
+168
to
+169
| int i0 = i; | ||
| int k0 = k; |
| ComputeJobResult nodeJobRes = nodesJobsResults.get(i); | ||
|
|
||
| if (nodeJobRes.getException() != null) { | ||
| throw new IgniteException("Failed to execute snapshot list job on node [uuid=" + nodeJobRes.getNode().id() + ']', |
Contributor
There was a problem hiding this comment.
I`d prefer to fix it, but if other places are uses the same approach - it`s up to you
zstan
approved these changes
Oct 26, 2026
Possible compatibility issues. Please, check rolling upgrade casesThis PR modifies protected classes (with Order annotation). Affected files:
|
Vladsz83
deleted the
IGNITE-29056-Introduce-snapshot-lists-command-to-control.sh
branch
October 27, 2026 08:11
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Thank you for submitting the pull request to the Apache Ignite.
In order to streamline the review of the contribution
we ask you to ensure the following steps have been taken:
The Contribution Checklist
The description explains WHAT and WHY was made instead of HOW.
The following pattern must be used:
IGNITE-XXXX Change summarywhereXXXX- number of JIRA issue.(see the Maintainers list)
the
green visaattached to the JIRA ticket (see tabPR Checkat TC.Bot - Instance 1 or TC.Bot - Instance 2)Notes
If you need any help, please email dev@ignite.apache.org or ask anу advice on http://asf.slack.com #ignite channel.