Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-1349

Retried prepare times out while partition is in degraded mode

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • JDG 7.2 DR4
    • JDG 7.1.0 GA, JDG 7.0.1 GA
    • Core
    • None

      Since ISPN-5046, prepare commands are retried if one of the prepare targets has left the cluster. However, when the cache enters degraded mode, the prepare targets still include the owners in other partitions, and the prepare command is retried again.

      Each retry automatically waits for cache topology <command topology> + 1. But the second retry is not really triggered by a topology change, so the retry blocks for remoteTimeout milliseconds before failing with a TimeoutException.

      This situation actually happens in OptimisticTxPartitionAndMergeDuringPrepareTest, but the tests do not fail because it doesn't wait for an AvailabilityException specifically: they just take 15+ seconds each.

            dberinde@redhat.com Dan Berindei (Inactive)
            pzapataf@redhat.com Pedro Zapata Fernandez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: