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

Cannot configure dist caches with "capacity-factor"

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • None
    • 13.0.0.Final
    • None
    • None

    Description

      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

      Attachments

        Activity

          People

            ttarrant@redhat.com Tristan Tarrant
            dnaro@redhat.com Donald Naro
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: