xichen01 commented on PR #8542: URL: https://github.com/apache/ozone/pull/8542#issuecomment-3228772212
> I'd like to ask if the other changes, apart from the modifications within StateContext#getNextCommand, have any specific scenarios where they would occur. If not, I don't think these changes are necessary. Here, all branches that could lead to leaks have been addressed. We should not assume that certain branches will not be executed. > only the DeleteBlocksCommand will actually be added to StateContext#cmdStatusMap. Yes, using the `DeleteBlocksCommand` to simulate an exception would be more appropriate here. -- 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]
