Cyrill opened a new pull request, #6135:
URL: https://github.com/apache/ozone/pull/6135

   HDDS-10262. Encapsulate SnapshotCache inside OmSnapshotManager
   
   **Changes made:**
   `SnapshotCache` is now used purely in `OmSnapshotManager` and not exposed 
outside. 
   Previous calls to `SnapshotCache` are now changed to `OmSnapshotManager`.
   Explicit parameter "`skipActiveCheck`" was removed, active state check is 
done implicitly.
   Also changed the generics in snapshot's ReferenceCounted returned value to 
get rid of type casts all over the codebase.
   
   **Reasoning**
   `SnapshotCache` is now hidden from the world and any further refactoring to 
it should be easier.
   
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-10262
   
   ## How was this patch tested?
   
   Existing unit tests. There was no new functionality added. 
   


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