anton-vinogradov commented on code in PR #12889:
URL: https://github.com/apache/ignite/pull/12889#discussion_r2966279283
##########
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:
Not sure I've got a problem. Could please you share and example when it
cause an issue?
--
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]