Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-20048

Graceful shutdown freeze the server with active transaction

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 35.0.0.Beta1
    • 34.0.0.Final
    • Transactions
    • None

      This issue is caused by wildfly-core#PR6117 and WFCORE-6894. I can't confirm that PR18098 could fix the issue, because there are conflicts in this PR. Anyway, this is a regression, so I set the priority to blocker.

      Scenario where server hangs:

      • Before the server is commanded to graceful shutdown, a new transaction is started. Server should not shutdown until tx is finished or timeout is gone.
      • Procedure:
        • start transaction
        • 1. remote ejb call updates database and commands server to gracefully shutdown with 30s timeout
        • 2. remote ejb call is part of the same tx so it should proceed
        • commit tx
        • check that both ejb calls were successful

      Steps to reproduce:
      see my first comment on this jira

              pferraro@redhat.com Paul Ferraro
              mkopecky@redhat.com Marek Kopecky
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: