Derby
  1. Derby
  2. DERBY-5406

Intermittent failures in CompressTableTest and TruncateTableTest

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 10.8.2.2, 10.9.1.0
    • Fix Version/s: 10.8.3.0, 10.9.1.0
    • Component/s: SQL
    • Labels:
      None
    • Bug behavior facts:
      Regression Test Failure

      Description

      The test cases CompressTableTest.testConcurrentInvalidation() and TruncateTableTest.testConcurrentInvalidation() fail intermittently with errors such as:

      ERROR XSAI2: The conglomerate (2,720) requested does not exist.

      The problem has been analyzed in the comments on DERBY-4275, and a patch attached to that issue (invalidation-during-compilation.diff) fixes the underlying race condition. However, that patch only works correctly together with the fix for DERBY-5161, which was backed out because it caused the regression DERBY-5280.

      We will therefore need to find a way to fix DERBY-5161 without reintroducing DERBY-5280 in order to resolve this issue.

      1. CompressAndPrepare.java
        2 kB
        Knut Anders Hatlen
      2. d5406-1a-detect-invalidation-during-compilation.diff
        4 kB
        Knut Anders Hatlen
      3. d5406-1b.diff
        4 kB
        Knut Anders Hatlen
      4. d5406-2a-invalidate-self.diff
        4 kB
        Knut Anders Hatlen
      5. d5406-3a.diff
        3 kB
        Knut Anders Hatlen
      6. d5406-4a-push-retry-logic.diff
        7 kB
        Knut Anders Hatlen
      7. d5406-4a-retry-on-conglomerate-error.diff
        8 kB
        Knut Anders Hatlen

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Knut Anders Hatlen
              Reporter:
              Knut Anders Hatlen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development