JackieTien97 opened a new pull request, #14038: URL: https://github.com/apache/iotdb/pull/14038
Due to a race condition in Driver#tryWithLock there was a chance an operator might have end up not being properly closed upon completion.(here is the UDF throw NoSuchElementException) - Driver#process executes an operator under the Driver#exclusiveLock - An operator throws an exception and triggers a task failure - A FIStateMachine listener closes all drivers calling Driver#close - Driver#close is not able to acquire the Driver#exclusiveLock and assumes the driver will be terminated by the lock owner - The lock owner throws an exception and never runs `destroyIfNecessary` in Driver#tryWithLock that was expected to close the operators - Query resource clear async thread stuck to wait for driver to close -- 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]
