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. d5406-1a-detect-invalidation-during-compilation.diff
        4 kB
        Knut Anders Hatlen
      2. d5406-1b.diff
        4 kB
        Knut Anders Hatlen
      3. d5406-2a-invalidate-self.diff
        4 kB
        Knut Anders Hatlen
      4. d5406-3a.diff
        3 kB
        Knut Anders Hatlen
      5. CompressAndPrepare.java
        2 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

          Knut Anders Hatlen created issue -
          Knut Anders Hatlen made changes -
          Field Original Value New Value
          Link This issue relates to DERBY-4275 [ DERBY-4275 ]
          Knut Anders Hatlen made changes -
          Link This issue relates to DERBY-5161 [ DERBY-5161 ]
          Myrna van Lunteren made changes -
          Affects Version/s 10.8.2.0 [ 12317955 ]
          Affects Version/s 10.8.1.6 [ 12316676 ]
          Knut Anders Hatlen made changes -
          Assignee Knut Anders Hatlen [ knutanders ]
          Knut Anders Hatlen made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Knut Anders Hatlen made changes -
          Knut Anders Hatlen made changes -
          Attachment d5406-1b.diff [ 12496464 ]
          Knut Anders Hatlen made changes -
          Attachment d5406-2a-invalidate-self.diff [ 12499869 ]
          Knut Anders Hatlen made changes -
          Attachment d5406-3a.diff [ 12500410 ]
          Knut Anders Hatlen made changes -
          Issue & fix info Patch Available [ 10102 ]
          Myrna van Lunteren made changes -
          Affects Version/s 10.8.2.2 [ 12317968 ]
          Affects Version/s 10.8.2.0 [ 12317955 ]
          Knut Anders Hatlen made changes -
          Issue & fix info Patch Available [ 10102 ]
          Knut Anders Hatlen made changes -
          Attachment CompressAndPrepare.java [ 12500862 ]
          Knut Anders Hatlen made changes -
          Attachment d5406-4a-push-retry-logic.diff [ 12500901 ]
          Knut Anders Hatlen made changes -
          Issue & fix info Patch Available [ 10102 ]
          Knut Anders Hatlen made changes -
          Issue & fix info Patch Available [ 10102 ]
          Knut Anders Hatlen made changes -
          Knut Anders Hatlen made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Fix Version/s 10.9.0.0 [ 12316344 ]
          Resolution Fixed [ 1 ]
          Mike Matrigali made changes -
          Assignee Knut Anders Hatlen [ knutanders ] Mike Matrigali [ mikem ]
          Mike Matrigali made changes -
          Assignee Mike Matrigali [ mikem ] Knut Anders Hatlen [ knutanders ]
          Fix Version/s 10.8.2.3 [ 12318540 ]
          Knut Anders Hatlen made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Kathey Marsden made changes -
          Fix Version/s 10.8.3.0 [ 12323456 ]
          Fix Version/s 10.8.2.3 [ 12318540 ]
          Gavin made changes -
          Workflow jira [ 12632413 ] Default workflow, editable Closed status [ 12802136 ]

            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