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

Using deprecated attribute use-hornetq-store in CLI does not have any effect being set

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 10.0.0.CR5
    • 10.0.0.CR1
    • Transactions
    • None
    • Hide

      Use jboss-cli.sh to set /subsystem=transactions:write-attribute(name=use-hornetq-store, value=true) does not have any effect.

      Show
      Use jboss-cli.sh to set /subsystem=transactions:write-attribute(name=use-hornetq-store, value=true) does not have any effect.

    Description

      Attribute use-hornetq-store was deprecated for EAP7 and use-journal-store should be used instead. But even the attribute is deprecated it still should provide its old functionality.

      I think that using use-hornetq-store would have the same effect as when use-journal-store is used.

      I would think that when one of the attribute is set then the other one should present the same settings.

      /subsystem=transactions:read-attribute(name=use-hornetq-store)
      {
          "outcome" => "success",
          "result" => false
      }
      /subsystem=transactions:read-attribute(name=use-journal-store)
      {
          "outcome" => "success",
          "result" => false
      }
      /subsystem=transactions:write-attribute(name=use-journal-store, value=true)
      {
          "outcome" => "success",
          "response-headers" => {
              "operation-requires-restart" => true,
              "process-state" => "restart-required"
          }
      }
      
      :shutdown(restart=true)
      {"outcome" => "success"}
      
      /subsystem=transactions:read-attribute(name=use-journal-store)
      {
          "outcome" => "success",
          "result" => true
      }
       /subsystem=transactions:read-attribute(name=use-hornetq-store)
      {
          "outcome" => "success",
          "result" => false
      }
      

      Attachments

        Issue Links

          Activity

            People

              zfeng@redhat.com Zheng Feng
              ochaloup@redhat.com Ondrej Chaloupka (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: