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

Toggling default singleton election policy fails

    Details

      Description

      [standalone@localhost:9990 /] /subsystem=singleton/singleton-policy=foo/election-policy=random:add{allow-resource-service-restart=true
      {"outcome" => "success"}
      [standalone@localhost:9990 /] /subsystem=singleton/singleton-policy=foo/election-policy=simple:add{allow-resource-service-restart=true
      {
          "outcome" => "failed",
          "failure-description" => "WFLYCTL0436: Cannot register capability 'org.wildfly.clustering.singleton.policy.election.foo' at location '[
          (\"subsystem\" => \"singleton\"),
          (\"singleton-policy\" => \"foo\"),
          (\"election-policy\" => \"simple\")
      ]' as it is already registered in context 'global' at location(s) '[[
          (\"subsystem\" => \"singleton\"),
          (\"singleton-policy\" => \"foo\"),
          (\"election-policy\" => \"random\")
      ]]'",
          "rolled-back" => true
      }
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  rhusar Radoslav Husar
                  Reporter:
                  rhusar Radoslav Husar
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: