Skip to content

IGNITE-28851 Embedded Ignite Features to Serialization Mechanism for transport between Ignite nodes - #13532

Open
petrov-mg wants to merge 3 commits into
apache:masterfrom
petrov-mg:IGNITE-28851
Open

petrov-mg wants to merge 3 commits into
apache:masterfrom
petrov-mg:IGNITE-28851

Conversation

@petrov-mg

Copy link
Copy Markdown
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 tab PR Check at 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.

@petrov-mg
petrov-mg force-pushed the IGNITE-28851 branch 6 times, most recently from 8f88913 to f1f55e7 Compare August 30, 2026 12:54
@petrov-mg
petrov-mg force-pushed the IGNITE-28851 branch 5 times, most recently from 19aed5d to 5390be6 Compare September 9, 2026 14:26
@petrov-mg
petrov-mg force-pushed the IGNITE-28851 branch 3 times, most recently from 69ba88a to 2fd54ff Compare September 22, 2026 11:49
@petrov-mg petrov-mg changed the title IGNITE-28851 IGNITE-28851 Embedded Ignite Features to Serialization Mechanism for transport between Ignite nodes Sep 22, 2026
@petrov-mg
petrov-mg force-pushed the IGNITE-28851 branch 2 times, most recently from 7b46247 to bba0352 Compare September 22, 2026 11:59
*/
@Retention(RetentionPolicy.CLASS)
@Target(ElementType.TYPE)
public @interface RollingUpgradeAware {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

How about a bit different name: RollingUpgradeSubject? To me the word "Aware" has a semantics close to "I receive some information about the process I'm aware of" rather than "I'm a key participant of the process of Rolling Upgrade"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I renamed it to @FeatureGated - it emphasizes that the class fields are coupled with corresponding features, which are in turn taken into account during RU.

import org.apache.ignite.internal.processors.rollingupgrade.feature.IgniteFeature;

/**
* Marks a class whose serialization takes the Rolling Upgrade into account.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I suggest to improve documentation of this class.

If a developer modifies a message in a way that should support RU, he/she will have to use this annotation anyway.
We need to make the javadoc as clear as possible to explain to the developer how to use it and what role in a bigger picture the annotation plays.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done.

@github-actions

Copy link
Copy Markdown

Possible compatibility issues. Please, check rolling upgrade cases

This PR modifies protected classes (with Order annotation).
Changes to these classes can break rolling upgrade compatibility.

Affected files:

  • modules/commons/src/main/java/org/apache/ignite/internal/MessageSerializationContext.java
  • modules/core/src/main/java/org/apache/ignite/internal/processors/rollingupgrade/feature/IgniteComponentFeatureSet.java
  • modules/core/src/test/java/org/apache/ignite/internal/processors/rollingupgrade/message/TestCoreMessage.java
  • modules/core/src/test/java/org/apache/ignite/internal/processors/rollingupgrade/message/TestDefaultRegistryMessage.java
  • modules/core/src/test/java/org/apache/ignite/internal/processors/rollingupgrade/message/TestPluginMessage.java

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants