[infinispan-issues] [JBoss JIRA] (ISPN-12102) Validate configuration before storing it

Tristan Tarrant (Jira) issues at jboss.org
Mon Jul 27 04:26:03 EDT 2020


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

Tristan Tarrant updated ISPN-12102:
-----------------------------------
    Sprint: DataGrid Sprint #46, DataGrid Sprint #47  (was: DataGrid Sprint #46)


> Validate configuration before storing it
> ----------------------------------------
>
>                 Key: ISPN-12102
>                 URL: https://issues.redhat.com/browse/ISPN-12102
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 11.0.1.Final
>            Reporter: Pedro Ruivo
>            Assignee: Pedro Ruivo
>            Priority: Major
>             Fix For: 12.0.0.Dev02
>
>
> Although {{ConfigurationBuilder}} does some validation, sometimes it needs something more. As an example, the cross-site replication needs a running {{Transport}} to check if xsite is really supported.
> As a side effect, the console is broken when you try to define the following cache without {{RELAY2}} being present in the JGroups stack.
> {code:xml}
> <infinispan>
> <cache-container>
> <distributed-cache name="xsite">
> <backups>
> <backup site="site2"/>
> </backups>
> </distributed-cache>
> </cache-container>
> </infinispan>
> {code}
> This happens because the {{Configuration}} is stored and the {{Cache}} with the exception is stored as well.
> The fix proposed it adds a method to {{ModuleLifecyle}} where the {{Configuration}} can be validated before it is store in the "global state". 



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the infinispan-issues mailing list