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

maxKeysInMemory in infinispan config schema probably wrong

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 6.0.0.Final
    • Configuration

      Probably there is a bug on 1684 line of infinispan-config-6.0.xsd:
      <xs:attribute name="maxKeysInMemory" type="xs:int" default="-1">

      When I use this attribute in configuration xml file, I get this:

      Exception
      javax.xml.stream.XMLStreamException: ParseError at [row,col]:[9,13]
      Message: Unexpected attribute 'maxKeysInMemory' encountered
      

      Actually, maxKeysInMemory seems very similar to maxEntries, which was mentioned in user guide and which is missing in the schema.
      If I change maxKeysInMemory to maxEntries, everything works fine.

      Were you planning to change the schema?
      Probably you forgot to update the code?

            Unassigned Unassigned
            stanislav.ivanov_jira Stanislav Ivanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: