Skip to content
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

Open
wants to merge 34 commits into
base: IGNITE-22662__snapshot_refactoring
Choose a base branch
from

Conversation

Vladsz83
Copy link
Contributor

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

  • There is a single JIRA ticket related to the pull request.
  • The web-link to the pull request is attached to the JIRA ticket.
  • The JIRA ticket has the Patch Available state.
  • The pull request body describes changes that have been made.
    The description explains WHAT and WHY was made instead of HOW.
  • The pull request title is treated as the final commit message.
    The following pattern must be used: IGNITE-XXXX Change summary where XXXX - number of JIRA issue.
  • A reviewer has been mentioned through the JIRA comments
    (see the Maintainers list)
  • The pull request has been checked by the Teamcity Bot and
    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.

@Vladsz83 Vladsz83 changed the title IGNITE-23058 : remove snapshot check tasks v3 IGNITE-23483 : Restore snapshot check from lesser topology for snapshot check distributed process. Oct 17, 2024
…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
@Vladsz83 Vladsz83 changed the base branch from master to IGNITE-22662__snapshot_refactoring October 24, 2024 14:06
/** @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 {
Copy link
Member

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?

Copy link
Contributor Author

@Vladsz83 Vladsz83 Dec 28, 2024

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.

…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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants