Skip to content

Conversation

@xtern
Copy link
Contributor

@xtern xtern commented Apr 22, 2021

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 dev@ignite.apache.org or ask anу advice on http://asf.slack.com #ignite channel.

@xtern xtern force-pushed the ignite-14424 branch 2 times, most recently from 995a42c to 760df2c Compare May 14, 2021 15:39

/** {@inheritDoc} */
@Override public void onDoneAfterTopologyUnlock(GridDhtPartitionsExchangeFuture fut) {
if (fut.activateCluster() || fut.localJoinExchange()) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What if the current node joins an inactive cluster?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If a node joins an inactive cluster, no PME occurs.

assertTrue(isReencryptionInProgress(Collections.singleton(cacheName())));

node0.cluster().state(ClusterState.INACTIVE);

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

        stopGrid(GRID_1);
        startGrid(GRID_1);

Reproduces the problem I've mentioned above

Copy link
Contributor Author

@xtern xtern Jun 3, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added this case and fix for it.
(from my point of view, the name of the isReencryptionInProgress method in the test is not entirely correct - this method checks that re-encryption is required, but it doesn’t say whether the re-encryption task is running, I can’t remember why this name was chosen)

@NSAmelchev NSAmelchev merged commit 6a3eb62 into apache:master Jun 4, 2021
sergeyuttsel pushed a commit to gridgain/apache-ignite that referenced this pull request Sep 3, 2021
xintrian pushed a commit to xintrian/ignite that referenced this pull request May 27, 2022
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.

3 participants