ctubbsii commented on issue #2362: URL: https://github.com/apache/accumulo/issues/2362#issuecomment-982954719
@dlmarion I'm working on this. Holiday interrupted it, but the basic problem is that we are making certain assumptions about the Runnables that we put in the executor blocking queues. There are two kinds of problems: 1) we conditionally remove them from the queue, possibly based on equality, and 2) we cast these Runnables to a specific subtype to perform actions on them (sorting, removal, etc.). Both these kinds of operations are broken when we wrap the Runnables with the tracing context lambda Runnable. In some cases, we throw an IllegalArgumentException when the `instanceof` type doesn't match what we expect, and in other cases the operation is just going to fail silently because the condition doesn't match (either the objects don't equal or the `instanceof` type doesn't match). -- 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]
