swamirishi commented on code in PR #9140:
URL: https://github.com/apache/ozone/pull/9140#discussion_r2440770021


##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OmSnapshotLocalData.java:
##########
@@ -184,9 +184,14 @@ public void setPreviousSnapshotId(UUID previousSnapshotId) 
{
    * Adds an entry to the defragged SST file list.
    * @param sstFiles SST file name
    */
-  public void addVersionSSTFileInfos(List<SstFileInfo> sstFiles, int 
previousSnapshotVersion) {
+  public void addVersionSSTFileInfos(List<LiveFileMetaData> sstFiles, int 
previousSnapshotVersion) {
     version++;
-    this.versionSstFileInfos.put(version, new 
VersionMeta(previousSnapshotVersion, sstFiles));
+    this.versionSstFileInfos.put(version, new 
VersionMeta(previousSnapshotVersion, sstFiles.stream()
+        .map(SstFileInfo::new).collect(Collectors.toList())));
+  }

Review Comment:
   not required



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