Uploaded image for project: 'Cloud Enablement'
  1. Cloud Enablement
  2. CLOUD-2519

Enhancing the transaction crash recovery tests with failures on resource managers availability after scale down


    • Type: Task
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: EAP71 1.2.0.GA
    • Fix Version/s: None
    • Component/s: Test Suite
    • Labels:


      Testsuite should consider situation when resource managers - aka. database or jms broker - are not available right at the time the service is scaled down.

      The scenario is like this:

      • service is scaled to 2 pods and receiving request load
      • there are some indoubt transactions - partly at the side of the JBoss EAP narayana transaction log and partly at side of resouce manager (database, jms broker)
      • connection to the database/jms broker is broken and the transactions can't be finished
      • ideally we would be here at the state that there is some prepared transaction at the side of the disconnected resource manager but the narayana object store is empty
      • service is scaled down to 1. The migration pod needs to be aware of the fact there is not possible to connect to the resource manager and even there could be already empty transaction log at the JBoss EAP side the container it can't throw away the container data.
        • The notion about not-finished transactions are stored only at the resource manager side and we need to wait with cleaning the of the node identifier up to time the all in-doubt transactions are resolved at side of the resource manager and at the side of the WFLY app server

      The testsuite (I expect the set of tests around the PostgreSQLXARecoveryWithNFSDisconnectLoadTest class) should be enriched with such scenarios.

        Gliffy Diagrams


            Issue Links



                • Assignee:
                  tremes Tomas Remes
                  ochaloup Ondrej Chaloupka
                • Votes:
                  0 Vote for this issue
                  3 Start watching this issue


                  • Created: