Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
When the send fails in SingleSender, the listener calls stop(), which creates two problems. First, stop() calls the cleanup() method, which can cause buffers to be removed while the execution thread is still using them. Second, this method blocks on waitForSendComlete(), and we never want to block the rpc thread, as this can lead to the drillbit becoming unresponsive.
The stop() method should not be called by thread other than the execution thread.