sodonnel commented on PR #4888: URL: https://github.com/apache/ozone/pull/4888#issuecomment-1592965965
> There are also other places returning the **containerInfo** as the followings: > > https://github.com/apache/ozone/blob/1d6153b5a10d1114cc8c239ccf2fbe237e66a5ef/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/pipeline/WritableECContainerProvider.java#L104 > > https://github.com/apache/ozone/blob/1d6153b5a10d1114cc8c239ccf2fbe237e66a5ef/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/pipeline/WritableECContainerProvider.java#L158 > > Should these places add the **update** also? The constructor of containerInfo seems to set the lastUsed to "now" when the container is allocated, so I believe that covers the allocating a new one case. -- 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]
