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

/subsystem=transactions/log-store=log-store type attribute should be read-only

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 9.0.0.Alpha1
    • Component/s: None
    • Labels:
      None

      Description

      There is non-standard behavior of log-store "address" in jboss-cli.

      If you want to change log store type via jboss-cli I suppose that supposed way is via command like:
      /subsystem=transactions:write-attribute(name=use-hornetq-store, value=true)
      similarly with jdbc store.

      But there is a second way how to get name the transaction object store in use:
      /subsystem=transactions/log-store=log-store:read-attribute(name=type)

      But when you try to set the type via this way:
      /subsystem=transactions/log-store=log-store:write-attribute(name=type, value=hornetq)

      you'll get operation success
      {
      "outcome" => "success",
      "response-headers" =>

      { "operation-requires-reload" => true, "process-state" => "reload-required" }

      }
      but no change in the model is realized.

      There should be some info to user that this way is not supported or this way should correctly work.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                jason.greene Jason Greene
                Reporter:
                maeste Stefano Maestri
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: