[infinispan-issues] [JBoss JIRA] (ISPN-6798) Examples of JDBC CacheStore configuration should remind about the shared attribute

Galder Zamarreño (JIRA) issues at jboss.org
Tue Jan 24 05:03:35 EST 2017


     [ https://issues.jboss.org/browse/ISPN-6798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Galder Zamarreño updated ISPN-6798:
-----------------------------------
    Fix Version/s: 9.0.0.Beta3
                       (was: 9.0.0.Beta2)


> Examples of JDBC CacheStore configuration should remind about the shared attribute
> ----------------------------------------------------------------------------------
>
>                 Key: ISPN-6798
>                 URL: https://issues.jboss.org/browse/ISPN-6798
>             Project: Infinispan
>          Issue Type: Enhancement
>          Components: Configuration, Documentation-Core
>            Reporter: Sanne Grinovero
>            Priority: Minor
>             Fix For: 9.0.0.Beta3
>
>
> The "shared" configuration attribute is defaulting to _false_ even for database-based CacheStore instances as the attribute is defined in the parent of all {{CacheStore}} types.
> The attribute isn't very visible either, as it's not explicitly listed among the available attributes (because it's inherited), and I think this is quite confusing as - while a non-shared configuration could be a choice - there's a strong assumption and expectation that these will point to a shared relational database.
> I'd suggest to:
>  - add a highlighted reminder about this
>  - set the attribute explicitly in all example configurations
> See also:
>  - http://stackoverflow.com/questions/37949448/duplicate-record-errors-in-hibernate-search-backed-by-infinispan-in-an-ec2-clust/38049866#38049866



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)



More information about the infinispan-issues mailing list