SaketaChalamchala commented on PR #10235:
URL: https://github.com/apache/ozone/pull/10235#issuecomment-4435495909

   The current patch seems to compare the contents of a snapshot and live OM. 
   The intent of the JIRA seems to be to verify the integrity of snapshots 
after defrag iterations.
   Ex.,
   ```
   Setup - Take snapshots :      S1(at T1)                         S2(at T2)    
                            S3(at T3)
   
   Test#1: 
   Run Defrag Iteration#1:    S1' = compact(S1)              S2' =  S1' + 
diff(S1, S2)         S3' =  S1' + diff(S1, S2)  +  diff(S2, S3) 
   Verify contents:                 S1' == S1                             S2' 
== S2                               S3' == S3
   
   Test#2: 
   Delete S2
   Run Defrag Iteration#2:     S2'' =  compact(S2')             S3'' =  S2'' + 
diff(S2, S3) 
   Verify contents:                  S2'' == S2                               
S3'' == S3
   ```
   
   cc @smengcl could you confirm?


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