[Red Hat JIRA] (ISPN-12732) Replace org.wildfly with ${appserver.groupId} in pom.xml
by Diego Lovison (Jira)
[ https://issues.redhat.com/browse/ISPN-12732?page=com.atlassian.jira.plugi... ]
Diego Lovison updated ISPN-12732:
---------------------------------
Description:
{noformat}
find . -name "pom.xml" -execdir grep -nH --color=auto "<groupId>org.wildfly</groupId>" {} ';'
pom.xml:209: <groupId>org.wildfly</groupId>
{noformat}
It is blocking downstream tests
was:
{noformat}
find . -name "pom.xml" -execdir grep -nH --color=auto "<groupId>org.wildfly</groupId>" {} ';'
pom.xml:209: <groupId>org.wildfly</groupId>
{noformat}
It is blocking downstream builds
> Replace org.wildfly with ${appserver.groupId} in pom.xml
> --------------------------------------------------------
>
> Key: ISPN-12732
> URL: https://issues.redhat.com/browse/ISPN-12732
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 12.0.1.Final
> Reporter: Diego Lovison
> Priority: Critical
>
> {noformat}
> find . -name "pom.xml" -execdir grep -nH --color=auto "<groupId>org.wildfly</groupId>" {} ';'
> pom.xml:209: <groupId>org.wildfly</groupId>
> {noformat}
> It is blocking downstream tests
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 3 months
[Red Hat JIRA] (ISPN-12733) Cache collections toArray() is inefficient
by Dan Berindei (Jira)
Dan Berindei created ISPN-12733:
-----------------------------------
Summary: Cache collections toArray() is inefficient
Key: ISPN-12733
URL: https://issues.redhat.com/browse/ISPN-12733
Project: Infinispan
Issue Type: Bug
Components: Core, Streams
Affects Versions: 12.0.1.Final, 11.0.9.Final
Reporter: Dan Berindei
Fix For: 12.1.0.Final
Cache collections do not implement {{toArray()}}, so they use the implementation from {{AbstractCloseableIteratorCollection}}, which calls first {{collection.size()}}, creates an array with the appropriate size, and then populates the array from the iterator.
Calling {{stream().toArray()}} avoids the {{size()}} call, so they should also implement {{toArray()}} and use {{stream.toArray()}} internally.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 3 months
[Red Hat JIRA] (ISPN-12732) Replace org.wildfly with ${appserver.groupId} in pom.xml
by Diego Lovison (Jira)
Diego Lovison created ISPN-12732:
------------------------------------
Summary: Replace org.wildfly with ${appserver.groupId} in pom.xml
Key: ISPN-12732
URL: https://issues.redhat.com/browse/ISPN-12732
Project: Infinispan
Issue Type: Bug
Affects Versions: 12.0.1.Final
Reporter: Diego Lovison
{noformat}
find . -name "pom.xml" -execdir grep -nH --color=auto "<groupId>org.wildfly</groupId>" {} ';'
pom.xml:209: <groupId>org.wildfly</groupId>
{noformat}
It is blocking downstream builds
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 3 months
[Red Hat JIRA] (ISPN-12731) Cache collections and streams ignore values added in current transaction
by Dan Berindei (Jira)
[ https://issues.redhat.com/browse/ISPN-12731?page=com.atlassian.jira.plugi... ]
Dan Berindei updated ISPN-12731:
--------------------------------
Status: Open (was: New)
> Cache collections and streams ignore values added in current transaction
> ------------------------------------------------------------------------
>
> Key: ISPN-12731
> URL: https://issues.redhat.com/browse/ISPN-12731
> Project: Infinispan
> Issue Type: Bug
> Components: Core, Streams
> Affects Versions: 11.0.9.Final, 12.0.1.Final
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Major
> Fix For: 12.1.0.Final
>
>
> This test fails, as the {{results}} list is empty:
> {code:java}
> public void testValuesIncludesEntriesNotYetCommitted() throws Exception {
> Cache<Object, String> cache = cache(0, CACHE_NAME);
> TransactionManager tm = tm(cache);
> tm.begin();
> try {
> Map<Object, String> values = putValueInEachCache(3);
> List<String> results = new ArrayList<>(cache.values());
> assertEquals(values, results);
> } finally {
> tm.rollback();
> }
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 3 months
[Red Hat JIRA] (ISPN-12731) Cache collections and streams ignore values added in current transaction
by Dan Berindei (Jira)
Dan Berindei created ISPN-12731:
-----------------------------------
Summary: Cache collections and streams ignore values added in current transaction
Key: ISPN-12731
URL: https://issues.redhat.com/browse/ISPN-12731
Project: Infinispan
Issue Type: Bug
Components: Core, Streams
Affects Versions: 12.0.1.Final, 11.0.9.Final
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 12.1.0.Final
This test fails, as the {{results}} list is empty:
{code:java}
public void testValuesIncludesEntriesNotYetCommitted() throws Exception {
Cache<Object, String> cache = cache(0, CACHE_NAME);
TransactionManager tm = tm(cache);
tm.begin();
try {
Map<Object, String> values = putValueInEachCache(3);
List<String> results = new ArrayList<>(cache.values());
assertEquals(values, results);
} finally {
tm.rollback();
}
}
{code}
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 3 months
[Red Hat JIRA] (ISPN-12730) NPE when mapping a repeated non-indexed field in a schema
by Gustavo Fernandes (Jira)
Gustavo Fernandes created ISPN-12730:
----------------------------------------
Summary: NPE when mapping a repeated non-indexed field in a schema
Key: ISPN-12730
URL: https://issues.redhat.com/browse/ISPN-12730
Project: Infinispan
Issue Type: Bug
Components: Remote Querying
Reporter: Gustavo Fernandes
Schema:
{code}
package com.redhat;
message Attack {
optional string type = 1;
}
/**
* @Indexed
*/
message ConnectedPlayer {
optional string uuid = 1;
optional string userName = 2;
optional string match = 3;
repeated Attack attacks = 4;
/**
* @Field(index=Index.YES, analyze = Analyze.NO, store = Store.NO)
*/
optional int32 score = 5;
optional int64 timestamp = 6;
}
{code}
Cache Definition:
{code:json}
{
"distributed-cache": {
"mode": "SYNC",
"encoding": {
"key": {
"media-type": "application/x-protostream"
},
"value": {
"media-type": "application/x-protostream"
}
},
"indexing": {
"enabled":true,
"indexed-entities" : ["com.redhat.ConnectedPlayer"]
},
"transaction": {
"mode": "NON_XA"
},
"memory": {
"storage": "HEAP"
}
}
}
{code}
The cache creation will throw a NPE:
{noformat}
08:25:43,520 ERROR (blocking-thread--p3-t4) [org.hibernate.search.engine.reporting.spi.RootFailureCollector] HSEARCH000521: Hibernate Search encountered a failure during bootstrap; continuing for now to list all problems, but the process will ultimately be aborted.
Context: Infinispan Search Mapping, type 'com.redhat.ConnectedPlayer ([B)'
Failure: java.lang.NullPointerException
at org.infinispan.query.remote.impl.mapping.typebridge.ProtobufMessageBinder$State.bind(ProtobufMessageBinder.java:92)
at org.infinispan.query.remote.impl.mapping.typebridge.ProtobufMessageBinder.createIndexReferenceProvider(ProtobufMessageBinder.java:49)
at org.infinispan.query.remote.impl.mapping.typebridge.ProtobufMessageBinder.bind(ProtobufMessageBinder.java:34)
{noformat}
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 3 months
[Red Hat JIRA] (ISPN-12632) Multimap REST API
by Katia Aresti (Jira)
[ https://issues.redhat.com/browse/ISPN-12632?page=com.atlassian.jira.plugi... ]
Katia Aresti updated ISPN-12632:
--------------------------------
Description:
# GetEntries from a multimap cache is not working in REST
If the cache is protostream we get 500 error
class org.infinispan.multimap.impl.Bucket cannot be cast to class [B (org.infinispan.multimap.impl.Bucket is in unnamed module of loader java.net.URLClassLoader @6b884d57; [B is in module java.base of loader 'bootstrap')
was:
GetEntries from a multimap cache is not working in REST
> Multimap REST API
> -----------------
>
> Key: ISPN-12632
> URL: https://issues.redhat.com/browse/ISPN-12632
> Project: Infinispan
> Issue Type: Feature Request
> Components: REST
> Affects Versions: 12.0.0.CR1
> Reporter: Katia Aresti
> Assignee: Katia Aresti
> Priority: Major
>
> # GetEntries from a multimap cache is not working in REST
>
> If the cache is protostream we get 500 error
>
> class org.infinispan.multimap.impl.Bucket cannot be cast to class [B (org.infinispan.multimap.impl.Bucket is in unnamed module of loader java.net.URLClassLoader @6b884d57; [B is in module java.base of loader 'bootstrap')
>
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 3 months