rpuch commented on code in PR #10118:
URL: https://github.com/apache/ignite/pull/10118#discussion_r910928642


##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/wal/serializer/RecordDataV1Serializer.java:
##########
@@ -210,22 +208,15 @@ public RecordDataV1Serializer(GridCacheSharedContext 
cctx) {
     @Override public WALRecord readRecord(RecordType type, 
ByteBufferBackedDataInput in, int size)
         throws IOException, IgniteCheckedException {
         if (type == ENCRYPTED_RECORD || type == ENCRYPTED_RECORD_V2) {
-            if (encSpi == null) {
-                T2<Integer, RecordType> knownData = skipEncryptedRecord(in, 
true);
+            EncryptedData encryptedData = readEncryptedData(in, true, type == 
ENCRYPTED_RECORD_V2);

Review Comment:
   Nevermind, the hierarchy of record serializer versions is orthogonal to the 
hierarchy of message versions



-- 
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]

Reply via email to