[JBoss JIRA] (ISPN-9597) Cleanup Cassandra build
by Tristan Tarrant (Jira)
Tristan Tarrant created ISPN-9597:
-------------------------------------
Summary: Cleanup Cassandra build
Key: ISPN-9597
URL: https://issues.jboss.org/browse/ISPN-9597
Project: Infinispan
Issue Type: Task
Components: Loaders and Stores
Reporter: Tristan Tarrant
Assignee: Tristan Tarrant
Fix For: 9.4.1.Final
The cassandra cache store build needs to be updated:
- do not inherit the infinispan-persistence parent pom
- the parser should use wildcards for the versions
- add a logback.xml file to minimize logs
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 6 months
[JBoss JIRA] (ISPN-9323) RemoteCache.getWithMetadata returns expired metadata when server is transactional cache
by Marek Posolda (Jira)
[ https://issues.jboss.org/browse/ISPN-9323?page=com.atlassian.jira.plugin.... ]
Marek Posolda updated ISPN-9323:
--------------------------------
Affects Version/s: 9.3.1.Final
(was: 9.3.0.CR1)
Just checked that issue still exists with infinispan 9.3.1.Final.
Issue doesn't exists and things work as expected when JDG server 7.2.3 is used instead instead of infinispan-server-9.3.1.Final
> RemoteCache.getWithMetadata returns expired metadata when server is transactional cache
> ---------------------------------------------------------------------------------------
>
> Key: ISPN-9323
> URL: https://issues.jboss.org/browse/ISPN-9323
> Project: Infinispan
> Issue Type: Bug
> Components: Hot Rod, Server
> Affects Versions: 9.2.4.Final, 9.3.1.Final
> Reporter: Marek Posolda
> Priority: Major
> Attachments: RemoteCacheExpirationTest.java
>
>
> I have transactional cache defined on server side (infinispan-server). I have HotRod client application (RemoteCache), which is connected to server above and which calls this:
> {code}
> remoteCache.put("key", "value", 1000, TimeUnit.SECONDS, 100, TimeUnit.SECONDS);
> MetadataValue loaded = remoteCache.getWithMetadata("key");
> System.out.println("created: " + loaded.getCreated() + ", lastUsed: " + loaded.getLastUsed());
> {code}
> The output is:
> {code}
> created: 0, lastUsed: 0
> {code}
> This is not correct and causes some issues as entries are treated as expired. Especially when used together with remote-store, which is not able to load such entries, as PersistenceUtil#loadAndCheckExpiration method always treat the item loaded from RemoteCache as expired. See the attached application for more details.
> STEPS TO REPRODUCE:
> 1) Use infinispan-server-9.2.4.Final on server side and HotRod client (RemoteCache) version 9.2.4.Final on client side (maven dependency org.infinispan:infinispan-client-hotrod:9.2.4.Final for client app)
> 2) Unzip server 9.2.4.Final to some directory
> 3) Change ISPN_SERVER_HOME/standalone/configuration/clustered.xml and just add this transactional cache to the cache-container (NOTE: configuration "transactional" is already defined in the clustered.xml file):
> {code}
> <distributed-cache name="trans" configuration="transactional" />
> {code}
> 4) Run server with:
> {code}
> ./standalone.sh -c clustered.xml
> {code}
> 5) Run the client application from attachement. You can see the output as described above and also that entry is considered as expired (Example app uses same algorithm like RemoteStore together with PersistenceUtil.loadAndCheckExpired ). Original sources here: https://github.com/mposolda/misc/blob/master/ispn-client-listener/src/mai...
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 6 months
[JBoss JIRA] (ISPN-9596) Hibernate Spring simple tutorial should use Hibernate 5.2 compatible provider
by Galder Zamarreño (Jira)
[ https://issues.jboss.org/browse/ISPN-9596?page=com.atlassian.jira.plugin.... ]
Galder Zamarreño updated ISPN-9596:
-----------------------------------
Status: Open (was: New)
> Hibernate Spring simple tutorial should use Hibernate 5.2 compatible provider
> -----------------------------------------------------------------------------
>
> Key: ISPN-9596
> URL: https://issues.jboss.org/browse/ISPN-9596
> Project: Infinispan
> Issue Type: Bug
> Components: Demos and Tutorials
> Reporter: Galder Zamarreño
> Assignee: Galder Zamarreño
> Priority: Major
>
> It currently uses Hibernate 5.1 provider which causes an {{AbstractMethodError}}:
> {code}
> java.lang.AbstractMethodError:
> Method org/infinispan/hibernate/cache/v51/timestamp/TimestampsRegionImpl.put(Lorg/hibernate/engine/spi/SharedSessionContractImplementor;Ljava/lang/Object;Ljava/lang/Object;)V is abstract
> at org.infinispan.hibernate.cache.v51.timestamp.TimestampsRegionImpl.put(TimestampsRegionImpl.java) ~[infinispan-hibernate-cache-v51-9.2.5.Final.jar:9.2.5.Final]
> at org.hibernate.cache.spi.UpdateTimestampsCache.preInvalidate(UpdateTimestampsCache.java:77) ~[hibernate-core-5.2.17.Final.jar:5.2.17.Final]
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 6 months
[JBoss JIRA] (ISPN-9596) Hibernate Spring simple tutorial should use Hibernate 5.2 compatible provider
by Galder Zamarreño (Jira)
[ https://issues.jboss.org/browse/ISPN-9596?page=com.atlassian.jira.plugin.... ]
Galder Zamarreño updated ISPN-9596:
-----------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan-simple-tutorials/pull/56
> Hibernate Spring simple tutorial should use Hibernate 5.2 compatible provider
> -----------------------------------------------------------------------------
>
> Key: ISPN-9596
> URL: https://issues.jboss.org/browse/ISPN-9596
> Project: Infinispan
> Issue Type: Bug
> Components: Demos and Tutorials
> Reporter: Galder Zamarreño
> Assignee: Galder Zamarreño
> Priority: Major
>
> It currently uses Hibernate 5.1 provider which causes an {{AbstractMethodError}}:
> {code}
> java.lang.AbstractMethodError:
> Method org/infinispan/hibernate/cache/v51/timestamp/TimestampsRegionImpl.put(Lorg/hibernate/engine/spi/SharedSessionContractImplementor;Ljava/lang/Object;Ljava/lang/Object;)V is abstract
> at org.infinispan.hibernate.cache.v51.timestamp.TimestampsRegionImpl.put(TimestampsRegionImpl.java) ~[infinispan-hibernate-cache-v51-9.2.5.Final.jar:9.2.5.Final]
> at org.hibernate.cache.spi.UpdateTimestampsCache.preInvalidate(UpdateTimestampsCache.java:77) ~[hibernate-core-5.2.17.Final.jar:5.2.17.Final]
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 6 months