szetszwo commented on PR #4578: URL: https://github.com/apache/ozone/pull/4578#issuecomment-1551037700
The bug is the `acquire` methods returning a `Lease` and then `registerCallBack` later. It seems the current change does not prevent that. We should pass the callbacks to `acquire` at the same time in order to fix the bug. -- 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]
