Skip to content

IGNITE-27626 Use MessageSerializer for custom messages#12651

Open
shishkovilja wants to merge 5 commits intoapache:masterfrom
shishkovilja:ignite-27626
Open

IGNITE-27626 Use MessageSerializer for custom messages#12651
shishkovilja wants to merge 5 commits intoapache:masterfrom
shishkovilja:ignite-27626

Conversation

@shishkovilja
Copy link
Contributor

No description provided.

@shishkovilja shishkovilja force-pushed the ignite-27626 branch 2 times, most recently from f529d25 to 6ee242b Compare January 22, 2026 16:59
@shishkovilja shishkovilja changed the title IGNITE-27626 Use MessageSerializer for TcpDiscoveryCustomEventMessage IGNITE-27626 Use MessageSerializer for custom messages Jan 22, 2026
@shishkovilja shishkovilja force-pushed the ignite-27626 branch 6 times, most recently from 4e7c1db to bae6713 Compare February 2, 2026 18:06
@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 3, 2026

Quality Gate Failed Quality Gate failed

Failed conditions
6 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

msg = (DiscoveryCustomMessage)serMsg;
else {
try {
msg = U.unmarshal(marsh, msgBytes, ldr);
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we add a check that msgBytes != null?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In fact, if msgBytes == null, it is an incorrect state of message. Unmarshal will fail with an asserion error.

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