[infinispan-issues] [JBoss JIRA] (ISPN-4069) maxKeysInMemory in infinispan config schema probably wrong

Dan Berindei (JIRA) issues at jboss.org
Tue Mar 4 05:25:36 EST 2014


    [ https://issues.jboss.org/browse/ISPN-4069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12949667#comment-12949667 ] 

Dan Berindei commented on ISPN-4069:
------------------------------------

The schema is incorrect. {{maxKeysInMemory}} is the original name of the attribute, but we decided to rename it because the "extra" keys are removed from the file as well as from memory.
                
> maxKeysInMemory in infinispan config schema probably wrong
> ----------------------------------------------------------
>
>                 Key: ISPN-4069
>                 URL: https://issues.jboss.org/browse/ISPN-4069
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Configuration
>    Affects Versions: 6.0.0.Final
>         Environment: jdk 1.7_45
> Infinispan 6.0.0.FInal
>            Reporter: Stanislav Ivanov
>            Assignee: Dan Berindei
>              Labels: 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:
> {code:title=Exception}
> javax.xml.stream.XMLStreamException: ParseError at [row,col]:[9,13]
> Message: Unexpected attribute 'maxKeysInMemory' encountered
> {code}
> 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?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the infinispan-issues mailing list