Details
Description
syuanjiang found a concurrecy issue in the procedure queue delete where we don't have an exclusive lock before deleting the table
Thread 1: Create table is running - the queue is empty and wlock is false Thread 2: markTableAsDeleted see the queue empty and wlock= false Thread 1: tryWrite() set wlock=true; too late Thread 2: delete the queue Thread 1: never able to release the lock - NPE when trying to get the queue