-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IGNITE-23483 : Restore snapshot check from lesser topology for snapshot check distributed process. #11596
base: IGNITE-22662__snapshot_refactoring
Are you sure you want to change the base?
Conversation
…ng' into IGNITE-22662__snapshot_refactoring
…ng' into IGNITE-22662__snapshot_refactoring
… IGNITE-23058-Remove_snapshot_check_tasks_v2 # Conflicts: # modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/SnapshotCheckProcess.java
…ng' into IGNITE-22662__snapshot_refactoring
…estore_snapshot_check_from_lesser_topology_for_snapshot_check_distributed_process # Conflicts: # modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/SnapshotCheckProcess.java # modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/IgniteClusterSnapshotStreamerTest.java
...a/org/apache/ignite/internal/processors/cache/persistence/snapshot/SnapshotCheckProcess.java
Outdated
Show resolved
Hide resolved
...n/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/SnapshotChecker.java
Outdated
Show resolved
Hide resolved
...n/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/SnapshotChecker.java
Outdated
Show resolved
Hide resolved
.../src/main/java/org/apache/ignite/internal/management/cache/VerifyBackupPartitionsTaskV2.java
Show resolved
Hide resolved
/** @see #metas() */ | ||
@Nullable private final List<SnapshotMetadata> metas; | ||
/** A DTO base to transfer node's results for the both phases. */ | ||
private abstract static class AbstractSnapshotCheckResponse<T> implements Serializable { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this class abstract, when all inheritors just use constructor. Why do you need all this classes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To avoid plenty of large generics in code like CompletableFuture<SnapshotCheckResponse<Map<String, Map<PartitionKeyV2, PartitionHashRecordV2>>>>
and casting to them.
...n/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/SnapshotChecker.java
Outdated
Show resolved
Hide resolved
…asks_v3' into IGNITE-23058_remove_snapshot_check_tasks_v3 # Conflicts: # modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/SnapshotCheckProcess.java
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 summary
whereXXXX
- number of JIRA issue.(see the Maintainers list)
the
green visa
attached to the JIRA ticket (see TC.Bot: Check PR)Notes
If you need any help, please email [email protected] or ask anу advice on http://asf.slack.com #ignite channel.