Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-7169

Deadlocks can occur when creating tables and querying indexes in multiple threads

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 10.14.1.0
    • None
    • Store
    • None
    • Normal
    • Repro attached
    • Seen in production

    Description

      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.

      Attachments

        1. dmdlock.java
          1 kB
          Richard Evans

        Activity

          People

            Unassigned Unassigned
            richard.evans@blueallegro.net Richard Evans
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: