[JBoss JIRA] (ISPN-12038) RocksDB compression options incomplete and incorrectly applied
by Tristan Tarrant (Jira)
[ https://issues.redhat.com/browse/ISPN-12038?page=com.atlassian.jira.plugi... ]
Tristan Tarrant updated ISPN-12038:
-----------------------------------
Sprint: DataGrid Sprint #46, DataGrid Sprint #47 (was: DataGrid Sprint #46)
> RocksDB compression options incomplete and incorrectly applied
> --------------------------------------------------------------
>
> Key: ISPN-12038
> URL: https://issues.redhat.com/browse/ISPN-12038
> Project: Infinispan
> Issue Type: Bug
> Components: Loaders and Stores
> Affects Versions: 11.0.0.Final
> Reporter: Tristan Tarrant
> Assignee: Tristan Tarrant
> Priority: Major
> Fix For: 11.0.1.Final
>
>
> The RocksDB store compression configuration has several issues:
> * it uses string names which are not in sync with the library
> * some new compression options are missing (XPRESS and ZSTD)
> * the free-form properties for setting compression are always overwritten with the default store setting (NONE)
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 8 months
[JBoss JIRA] (ISPN-12096) ConfigurationBuilder::withProperties should not overwrite the transactionMode
by Tristan Tarrant (Jira)
[ https://issues.redhat.com/browse/ISPN-12096?page=com.atlassian.jira.plugi... ]
Tristan Tarrant updated ISPN-12096:
-----------------------------------
Sprint: DataGrid Sprint #46, DataGrid Sprint #47 (was: DataGrid Sprint #46)
> ConfigurationBuilder::withProperties should not overwrite the transactionMode
> -----------------------------------------------------------------------------
>
> Key: ISPN-12096
> URL: https://issues.redhat.com/browse/ISPN-12096
> Project: Infinispan
> Issue Type: Bug
> Components: Hot Rod
> Affects Versions: 11.0.1.Final
> Reporter: Diego Lovison
> Assignee: Pedro Ruivo
> Priority: Major
> Fix For: 12.0.0.Dev01
>
>
> ConfigurationBuilder::withProperties should not overwrite the transactionMode
>
> {noformat}
> if (transactionMode != null) {
> config.transaction().transactionMode(TransactionMode.valueOf(transactionMode));
> }
> config.maxRetries(maxRetries).socketTimeout(connectionTimeout).connectionTimeout(connectionTimeout);
> if (propertiesPath != null) {
> Properties p = new Properties();
> try (Reader r = new FileReader(propertiesPath)) {
> p.load(r);
> config.withProperties(p);
> } catch (IOException e) {
> throw new IllegalStateException("Something went wrong with provided properties file:" + propertiesPath, e);
> }
> }
> return config;
> }{noformat}
>
> {noformat}
> infinispan.client.hotrod.auth_username=admin
> infinispan.client.hotrod.auth_password=password
> infinispan.client.hotrod.auth_realm=default
> infinispan.client.hotrod.sasl_mechanism=SCRAM-SHA-512{noformat}
>
>
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 8 months
[JBoss JIRA] (ISPN-12095) CLI: Add support for cluster backup/restore
by Tristan Tarrant (Jira)
[ https://issues.redhat.com/browse/ISPN-12095?page=com.atlassian.jira.plugi... ]
Tristan Tarrant updated ISPN-12095:
-----------------------------------
Sprint: DataGrid Sprint #46, DataGrid Sprint #47 (was: DataGrid Sprint #46)
> CLI: Add support for cluster backup/restore
> -------------------------------------------
>
> Key: ISPN-12095
> URL: https://issues.redhat.com/browse/ISPN-12095
> Project: Infinispan
> Issue Type: Enhancement
> Components: CLI
> Affects Versions: 11.0.1.Final
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
> Priority: Major
> Fix For: 12.0.0.Final
>
>
> It should be possible to backup/restore a cluster via the CLI:
> {code:java}
> bin/cli.sh -c localhost:11222 --restore <archive-file>
> bin/cli.sh -c localhost:11222 --backup <archive-file>
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 8 months
[JBoss JIRA] (ISPN-12102) Validate configuration before storing it
by Tristan Tarrant (Jira)
[ https://issues.redhat.com/browse/ISPN-12102?page=com.atlassian.jira.plugi... ]
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)
5 years, 8 months
[JBoss JIRA] (ISPN-11336) Infinispan BOM should only have dependency management
by Tristan Tarrant (Jira)
[ https://issues.redhat.com/browse/ISPN-11336?page=com.atlassian.jira.plugi... ]
Tristan Tarrant updated ISPN-11336:
-----------------------------------
Sprint: DataGrid Sprint #46, DataGrid Sprint #47 (was: DataGrid Sprint #46)
> Infinispan BOM should only have dependency management
> -----------------------------------------------------
>
> Key: ISPN-11336
> URL: https://issues.redhat.com/browse/ISPN-11336
> Project: Infinispan
> Issue Type: Bug
> Components: Build
> Affects Versions: 10.1.2.Final
> Reporter: Stéphane Nicoll
> Assignee: Pedro Ruivo
> Priority: Major
> Fix For: 12.0.0.Dev01
>
>
> The BOM has a {{pluginManagement}} section that's a bit misleading since Maven isn't going to do anything with it.
> It is also invalid at the moment per the following:
> {code:xml}
> <plugin>
> <groupId>org.infinispan.maven-plugins</groupId>
> <artifactId>protocol-parser-generator</artifactId>
> <version>${version.infinispan.maven-plugins}</version>
> </plugin>
> {code}
> This artifact does not seem to be published anymore. Using the BOM with resolution leads to
> {noformat}
> [WARNING] The POM for org.infinispan:infinispan-protocol-parser-generator-maven-plugin:jar:10.1.1.Final is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.infinispan:infinispan-protocol-parser-generator-maven-plugin:10.1.1.Final: Plugin org.infinispan:infinispan-protocol-parser-generator-maven-plugin:10.1.1.Final or one of its dependencies could not be resolved: Failure to find org.infinispan:infinispan-protocol-parser-generator-maven-plugin:jar:10.1.1.Final in https://repo.spring.io/milestone was cached in the local repository, resolution will not be reattempted until the update interval of spring-milestones has elapsed or updates are forced
> {noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 8 months
[JBoss JIRA] (ISPN-11978) Java ScriptEngine
by Tristan Tarrant (Jira)
[ https://issues.redhat.com/browse/ISPN-11978?page=com.atlassian.jira.plugi... ]
Tristan Tarrant updated ISPN-11978:
-----------------------------------
Sprint: DataGrid Sprint #46, DataGrid Sprint #47 (was: DataGrid Sprint #46)
> Java ScriptEngine
> -----------------
>
> Key: ISPN-11978
> URL: https://issues.redhat.com/browse/ISPN-11978
> Project: Infinispan
> Issue Type: Enhancement
> Components: Tasks
> Reporter: Tristan Tarrant
> Assignee: Tristan Tarrant
> Priority: Major
> Fix For: 12.0.0.Final
>
>
> Since Java 11 the Nashorn script engine has been deprecated and marked for removal.
> We can use either the Java compiler API or JShell to implement a ScriptEngine for Java.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 8 months