Uploaded image for project: 'HAL'
  1. HAL
  2. HAL-1016

Webconsole should require to have set 'use journal store' as true when changing value 'Journal store enable async io' to true

    XMLWordPrintable

    Details

      Description

      Currently when I want to set attribute Journal store enable async io in transaction subsystem Configuration: Subsystems - Subsystem: Transactions and Use journal store is set to false then I'm permitted to do so. After the change is passed to app serve I get an error message that 'user-journal-store' has to be set first [1].

      It would be much nicer if I would not be permitted to set it to true till 'use journal store' is set to true as well. I mean it would be nice if this behaves in the same way as use jdbc store when jdbc url is required - see https://issues.jboss.org/browse/JBEAP-1714

      [1]
      Error message:  Failed to modify Transaction Manager
      Content

      Unexpected HTTP response: 500
      
      Request
      {
          "operation" => "composite",
          "address" => [],
          "steps" => [{
              "address" => [("subsystem" => "transactions")],
              "operation" => "write-attribute",
              "name" => "journal-store-enable-async-io",
              "value" => true
          }]
      }
      
      Response
      
      Internal Server Error
      {
          "outcome" => "failed",
          "result" => {"step-1" => {
              "outcome" => "failed",
              "failure-description" => "WFLYCTL0380: Attribute 'use-journal-store' needs to be set or passed before attribute 'journal-store-enable-async-io' can be correctly set",
              "rolled-back" => true
          }},
          "failure-description" => {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => "WFLYCTL0380: Attribute 'use-journal-store' needs to be set or passed before attribute 'journal-store-enable-async-io' can be correctly set"}},
          "rolled-back" => true,
          "response-headers" => {"process-state" => "reload-required"}
      }
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              spyrkob Bartosz Spyrko-Smietanko
              Reporter:
              spyrkob Bartosz Spyrko-Smietanko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: