Richard Evans created DERBY-7169:
------------------------------------

             Summary: Deadlocks can occur when creating tables and querying 
indexes in multiple threads
                 Key: DERBY-7169
                 URL: https://issues.apache.org/jira/browse/DERBY-7169
             Project: Derby
          Issue Type: Bug
          Components: JDBC
    Affects Versions: 10.14.1.0
            Reporter: Richard Evans
         Attachments: dmdlock.java

In multiple threads, create tables and also query meta data using getIndexInfo. 
 After a number of successful table creates the test hangs and fails with

ERROR 40XL1: A lock could not be obtained within the time requested

If run with -Dderby.locks.waitTimeout=-1 the test hangs indefinitely.

Test case attached.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to