[JBoss JIRA] (ISPN-5728) Implement all the default methods in Java 8's Map interface
by Vladimir Blagojevic (JIRA)
[ https://issues.jboss.org/browse/ISPN-5728?page=com.atlassian.jira.plugin.... ]
Vladimir Blagojevic updated ISPN-5728:
--------------------------------------
Fix Version/s: 8.1.0.Beta1
(was: 8.1.0.Alpha2)
> Implement all the default methods in Java 8's Map interface
> -----------------------------------------------------------
>
> Key: ISPN-5728
> URL: https://issues.jboss.org/browse/ISPN-5728
> Project: Infinispan
> Issue Type: Feature Request
> Components: Core
> Affects Versions: 8.0.0.Final
> Reporter: Dan Berindei
> Fix For: 8.1.0.Beta1
>
>
> Java 8 added many new methods to the {{Map}} interface. Some of them were already present in {{ConcurrentMap}}, but others are new: {{getOrDefault()}}, {{forEach()}}, {{replaceAll()}}, {{computeIfAbsent()}}, {{computeIfPresent()}}, {{compute()}}, {{merge()}}.
> We should try to write Infinispan-specific implementations wherever that would improve correctness and/or performance.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 5 months
[JBoss JIRA] (ISPN-5752) PutMapCommand notifies the modification listener for created entries
by Vladimir Blagojevic (JIRA)
[ https://issues.jboss.org/browse/ISPN-5752?page=com.atlassian.jira.plugin.... ]
Vladimir Blagojevic updated ISPN-5752:
--------------------------------------
Fix Version/s: 8.1.0.Beta1
(was: 8.1.0.Alpha2)
> PutMapCommand notifies the modification listener for created entries
> --------------------------------------------------------------------
>
> Key: ISPN-5752
> URL: https://issues.jboss.org/browse/ISPN-5752
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 8.0.1.Final
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Fix For: 8.1.0.Beta1
>
>
> When a {{PutMapCommand}} creates an entry, it notifies both the {{@CacheEntryCreated}} and the {{@CacheEntryModified}} listeners. The same happens if the entry is modified, but it was evicted from the data container.
> Ideally, {{CacheLoaderInterceptor}} should know whether there are creation/modification listeners attached, and read the previous value when necessary to invoke the proper listener.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 5 months
[JBoss JIRA] (ISPN-5871) FlagsEnabledTest.testWithFlagsSemantics always fails
by Vladimir Blagojevic (JIRA)
[ https://issues.jboss.org/browse/ISPN-5871?page=com.atlassian.jira.plugin.... ]
Vladimir Blagojevic updated ISPN-5871:
--------------------------------------
Fix Version/s: 8.1.0.Beta1
(was: 8.1.0.Alpha2)
> FlagsEnabledTest.testWithFlagsSemantics always fails
> ----------------------------------------------------
>
> Key: ISPN-5871
> URL: https://issues.jboss.org/browse/ISPN-5871
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Core
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Blocker
> Labels: testsuite_stability
> Fix For: 8.1.0.Beta1
>
>
> The ISPN-5857 fix changed the way ReplicatedConsistentHash maps keys to segments.
> FlagsEnabledTest assumes its string keys have a certain locality in order to test which cache loader is accessed, and the ReplicatedConsistentHash changes broke that assumption.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 5 months
[JBoss JIRA] (ISPN-5874) Distributed Stream sort with non sorted terminal operation can fail
by William Burns (JIRA)
William Burns created ISPN-5874:
-----------------------------------
Summary: Distributed Stream sort with non sorted terminal operation can fail
Key: ISPN-5874
URL: https://issues.jboss.org/browse/ISPN-5874
Project: Infinispan
Issue Type: Bug
Affects Versions: 8.1.0.Alpha1
Reporter: William Burns
Assignee: William Burns
Using a sort intermediate operation when another intermediate operation is applied before sort and then invoking a terminal operation that doesn't pay attention to sorting doesn't apply the other intermediate operations properly, causing issues such as CCE and others.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 5 months
[JBoss JIRA] (ISPN-5855) RemoteContinuousQueryTest fails consistently
by William Burns (JIRA)
[ https://issues.jboss.org/browse/ISPN-5855?page=com.atlassian.jira.plugin.... ]
William Burns updated ISPN-5855:
--------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> RemoteContinuousQueryTest fails consistently
> --------------------------------------------
>
> Key: ISPN-5855
> URL: https://issues.jboss.org/browse/ISPN-5855
> Project: Infinispan
> Issue Type: Bug
> Components: Remote Querying
> Affects Versions: 8.0.0.Final
> Reporter: Adrian Nistor
> Assignee: William Burns
> Fix For: 8.1.0.Alpha2, 8.0.2.Final
>
>
> {quote}
> java.lang.AssertionError: expected null, but was:<expiredUser2>
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.failNotNull(Assert.java:664)
> at org.junit.Assert.assertNull(Assert.java:646)
> at org.junit.Assert.assertNull(Assert.java:656)
> at org.infinispan.client.hotrod.event.RemoteContinuousQueryTest.expectElementsInQueue(RemoteContinuousQueryTest.java:198)
> at org.infinispan.client.hotrod.event.RemoteContinuousQueryTest.testContinuousQuery(RemoteContinuousQueryTest.java:174)
> {quote}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 5 months