Skip to content

IGNITE-27776 Simplify custom messages hierarchy#12708

Merged
shishkovilja merged 7 commits intoapache:masterfrom
shishkovilja:ignite-27776
Feb 24, 2026
Merged

IGNITE-27776 Simplify custom messages hierarchy#12708
shishkovilja merged 7 commits intoapache:masterfrom
shishkovilja:ignite-27776

Conversation

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

*/
@Nullable public DiscoverySpiCustomMessage ackMessage();
@Deprecated
public abstract class DiscoverySpiCustomMessage implements DiscoveryCustomMessage {
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we set the defaults for isMutable(), ackMessage(), createDiscoCache() in DiscoveryCustomMessage? WDYT? There is a lot of overrided return null/false. Other ticket?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think it sounds reasonable. Let's implement it in a tiket: https://issues.apache.org/jira/browse/IGNITE-27778

# Conflicts:
#	modules/zookeeper/src/test/java/org/apache/ignite/spi/discovery/zk/ZookeeperDiscoverySpiTestConfigurator.java
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
8 New Code Smells (required ≤ 1)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@shishkovilja shishkovilja merged commit 222a85b into apache:master Feb 24, 2026
8 of 9 checks passed
@shishkovilja shishkovilja deleted the ignite-27776 branch February 24, 2026 19:11
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