Apache9 commented on PR #7089: URL: https://github.com/apache/hbase/pull/7089#issuecomment-2963351620
The key thing here is that, for a failed mutation, in the callback in mutate method, we remove the future from futures, and then, before we add the exception to errors, internalFlush method is called and finished, so in the method, we can not get the future since it has already been removed from the futures field, and also we can not get the exception from the errors field since it has not been added to the errors field yet. The solution is to also use synchronized(this) in the callback. -- 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]
