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

SYSCS_FREEZE_DATABASE locks-up if there are large records that haven't been flushed to the disk

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 10.10.1.1
    • 10.10.1.1
    • Store
    • None
    • Reliably demonstrated on Windows 7 with JDK 1.6.0_31
    • Normal
    • Repro attached
    • Seen in production

    Description

      If after writing a record that contains a large data column (>100KB), the FREEZE command is issued, the command never returns (Derby appears to be dead-locked).

      E.g. sqlStatement.executeUpdate("CALL SYSCS_UTIL.SYSCS_FREEZE_DATABASE()");

      If the CALL SYSCS_UTIL.SYSCS_CHECKPOINT_DATABASE() command is first used before calling FREEZE, it does not lock-up.

      It's my opinion that calling FREEZE should never result in a dead-locked Derby instance.

      Attachments

        1. D6398.java
          0.8 kB
          Knut Anders Hatlen
        2. report.txt
          17 kB
          Marty Backe

        Issue Links

          Activity

            People

              Unassigned Unassigned
              MartyBacke Marty Backe
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: