YutaLin commented on code in PR #10361:
URL: https://github.com/apache/ozone/pull/10361#discussion_r3301655280


##########
hadoop-ozone/interface-storage/src/test/java/org/apache/hadoop/ozone/om/helpers/TestOmKeyInfoCodec.java:
##########
@@ -115,11 +116,11 @@ public void testOmKeyInfoCodecWithoutPipeline(int 
chunkNum)
   }
 
   public void testOmKeyInfoCodecCompatibility(int chunkNum) throws IOException 
{
-    final Codec<OmKeyInfo> codecWithoutPipeline = OmKeyInfo.getCodec(true);
-    final Codec<OmKeyInfo> codecWithPipeline = OmKeyInfo.getCodec(false);
+    final Codec<OmKeyInfo> codec = OmKeyInfo.getCodec();
     OmKeyInfo originKey = getKeyInfo(chunkNum);
-    byte[] rawData = codecWithPipeline.toPersistedFormat(originKey);
-    OmKeyInfo key = codecWithoutPipeline.fromPersistedFormat(rawData);
+    byte[] rawData = originKey

Review Comment:
   pipeline was stored in DB before HDDS-3658, check commit: 71cc33da



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to