abashev commented on code in PR #12889:
URL: https://github.com/apache/ignite/pull/12889#discussion_r2966349220
##########
modules/core/src/main/java/org/apache/ignite/internal/cache/query/index/IndexKeyTypeMessage.java:
##########
@@ -94,4 +96,14 @@ private static byte encode(@Nullable IndexKeyType keyType) {
@Override public short directType() {
return TYPE_CODE;
}
+
+ /** {@inheritDoc} */
+ @Override public void prepareMarshal(Marshaller marsh) throws
IgniteCheckedException {
+ code = encode(val);
+ }
+
+ /** {@inheritDoc} */
+ @Override public void finishUnmarshal(Marshaller marsh, ClassLoader
clsLdr) throws IgniteCheckedException {
+ val = decode(code);
Review Comment:
I don't have it, but if want to keep behaviour as it was before the change
then this is not right implementation
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]