Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-13350

Cannot configure dist caches with "capacity-factor"

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 13.0.0.Final
    • None
    • None
    • None

      Attempt to create cache with:

      <distributed-cache owners="2" capacity-factor="1.0">
      <encoding media-type="application/x-protostream"/>
      </distributed-cache>

      Infinispan returns "Error: Unexpected attribute 'capacity-factor' encountered[1,52]" in the CLI or Console. Server does not log any messages.

      The "capacity" attribute works.

      Need to clarify the usage of these attributes and their differences.

      https://github.com/infinispan/infinispan/blob/main/core/src/main/resources/schema/infinispan-config-13.0.xsd#L1713
      https://github.com/infinispan/infinispan/blob/93c30b0eca7e0a48598f474ef83569ec868fd12b/core/src/main/resources/schema/infinispan-config-13.0.xsd#L1733

              ttarrant@redhat.com Tristan Tarrant
              dnaro@redhat.com Donald Naro
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: