[JBoss JIRA] (ISPN-12018) Fix JpaStoreCompatibilityTest failure
by Tristan Tarrant (Jira)
[ https://issues.redhat.com/browse/ISPN-12018?page=com.atlassian.jira.plugi... ]
Tristan Tarrant updated ISPN-12018:
-----------------------------------
Sprint: DataGrid Sprint #46, DataGrid Sprint #47, DataGrid Sprint #48 (was: DataGrid Sprint #46, DataGrid Sprint #47)
> Fix JpaStoreCompatibilityTest failure
> -------------------------------------
>
> Key: ISPN-12018
> URL: https://issues.redhat.com/browse/ISPN-12018
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite
> Reporter: Pedro Ruivo
> Assignee: Pedro Ruivo
> Priority: Major
> Fix For: 11.0.1.Final
>
>
> jboss-parent uses a different {{java.io.tmpdir}} to run the tests. When the JPA test suite is built, the {{persistence.xml}} file is configured with {{java.io.tmpdir=/tmp}} but when it runs, {{java.io.tmpdir=.../target/}} folder.
> The test is unable to find the 10.1x data and it fails.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 7 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, DataGrid Sprint #48 (was: DataGrid Sprint #46, DataGrid Sprint #47)
> 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, 7 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, DataGrid Sprint #48 (was: DataGrid Sprint #46, DataGrid Sprint #47)
> 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, 7 months
[JBoss JIRA] (ISPN-12047) Merge Async and Sync Cross-Site attributes
by Tristan Tarrant (Jira)
[ https://issues.redhat.com/browse/ISPN-12047?page=com.atlassian.jira.plugi... ]
Tristan Tarrant updated ISPN-12047:
-----------------------------------
Sprint: DataGrid Sprint #46, DataGrid Sprint #47, DataGrid Sprint #48 (was: DataGrid Sprint #46, DataGrid Sprint #47)
> Merge Async and Sync Cross-Site attributes
> ------------------------------------------
>
> Key: ISPN-12047
> URL: https://issues.redhat.com/browse/ISPN-12047
> Project: Infinispan
> Issue Type: Enhancement
> Affects Versions: 11.0.0.Final
> Reporter: Pedro Ruivo
> Assignee: Pedro Ruivo
> Priority: Major
> Fix For: 11.0.1.Final
>
>
> With IRAC, we only perform synchronous cross-site requests however, we are still exposing async attributes like {{AsyncXSiteRequestsReceived}}, {{AverageAsyncXSiteReplicationTime}}, {{MaximumAsyncXSiteReplicationTime}}, etc.
> Those are never updated anymore. They can be removed and use the sync* attributes.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 7 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, DataGrid Sprint #48 (was: DataGrid Sprint #46, DataGrid Sprint #47)
> 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, 7 months
[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, DataGrid Sprint #48 (was: DataGrid Sprint #46, DataGrid Sprint #47)
> 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, 7 months
[JBoss JIRA] (ISPN-11802) Create SPI for Cross-Site Replication conflict resolution
by Tristan Tarrant (Jira)
[ https://issues.redhat.com/browse/ISPN-11802?page=com.atlassian.jira.plugi... ]
Tristan Tarrant updated ISPN-11802:
-----------------------------------
Sprint: DataGrid Sprint #44, DataGrid Sprint #45, DataGrid Sprint #46, DataGrid Sprint #47, DataGrid Sprint #48 (was: DataGrid Sprint #44, DataGrid Sprint #45, DataGrid Sprint #46, DataGrid Sprint #47)
> Create SPI for Cross-Site Replication conflict resolution
> ---------------------------------------------------------
>
> Key: ISPN-11802
> URL: https://issues.redhat.com/browse/ISPN-11802
> Project: Infinispan
> Issue Type: Enhancement
> Components: Core, Cross-Site Replication
> Reporter: Pedro Ruivo
> Assignee: Pedro Ruivo
> Priority: Major
> Fix For: 12.0.0.Dev02
>
>
> A conflict happens if 2 sites try to update the same key (put/remove) concurrently.
> With async Cross-Site Replication (aka IRAC) when a conflict is detected, we use the site name to pick the winning update.
> h2. Interface
> {code:java}
> interface ABC<V> { // or concrete class
> String site(); //the site name which wrote this value
> V value(); // the value. can be null if the key was removed
> Metadata metadata(); //can be null
> }
> interface Resolve<K, V> {
> ABC<V> resolve(K key, ABC<V> entry1, ABC<V> entry2);
> }
> {code}
> h2. Configuration
> Set the class name to use. Can be a {{Class}} object (as shown above) or a {{String}} with the class name.
> For server mode, you need to add your jar with the classes required to {{server/lib}}.
> The configuration fails to validate if the conflict resolution class is set with {{SYNC}} strategy.
> {code:java}
> ConfigurationBuilder.sites().addBackup()
> .site("S")
> .strategy(BackupConfiguration.BackupStrategy.ASYNC)
> .conflictResolution(MyResover.class);
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 7 months