[JBoss JIRA] (ISPN-9738) Support for entry iteration in the REST server
by Gustavo Fernandes (Jira)
[ https://issues.jboss.org/browse/ISPN-9738?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes reassigned ISPN-9738:
---------------------------------------
Assignee: Gustavo Fernandes
> Support for entry iteration in the REST server
> ----------------------------------------------
>
> Key: ISPN-9738
> URL: https://issues.jboss.org/browse/ISPN-9738
> Project: Infinispan
> Issue Type: Enhancement
> Components: REST
> Affects Versions: 9.4.1.Final
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Priority: Major
>
> Currently the REST server has an operation to get all keys that has limitations since all the keys are retrieved to a single node before serving to the client.
> Ideally, it should have an efficient way of retrieving entries making use of iterators. The API should provide a cursor/scroll/handle so that the client can pull the data without causing memory issues.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 1 month
[JBoss JIRA] (ISPN-9739) REST call fails when deleting and re-creating a cache
by Gustavo Fernandes (Jira)
Gustavo Fernandes created ISPN-9739:
---------------------------------------
Summary: REST call fails when deleting and re-creating a cache
Key: ISPN-9739
URL: https://issues.jboss.org/browse/ISPN-9739
Project: Infinispan
Issue Type: Bug
Components: REST
Affects Versions: 9.4.1.Final
Reporter: Gustavo Fernandes
Assignee: Gustavo Fernandes
The REST server does not react to cache deletions and maintains stale references internally
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 1 month
[JBoss JIRA] (ISPN-9707) Getting keys via REST fails with SerializationException
by Gustavo Fernandes (Jira)
[ https://issues.jboss.org/browse/ISPN-9707?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-9707:
------------------------------------
Description:
Obtaining all the keys from a cache, e.g.: http://192.168.1.7:8080/rest/my_default_cache causes errors for clustered servers:
{noformat}
ERROR [org.infinispan.remoting.rpc.RpcManagerImpl] (REST-ServerWorker-4-5) ISPN000073: Unexpected error while replicating:
org.infinispan.commons.marshall.NotSerializableException: org.infinispan.rest.operations.mediatypes.impl.TextOutputPrinter
Caused by: an exception which occurred:
in field capturedArgs
in object org.infinispan.rest.operations.mediatypes.impl.TextOutputPrinter$$Lambda$495/1513688834@5bc665d
{noformat}
was:
Obtaining all the keys from a cache, e.g.: http://192.168.1.7:8080/rest/my_default_cache causes errors for clustered servers:
{noformat}
ERROR [org.infinispan.remoting.rpc.RpcManagerImpl] (REST-ServerWorker-4-5) ISPN000073: Unexpected error while replicating: org.infinispan.commons.marshall.NotSerializableException: org.infinispan.rest.operations.mediatypes.impl.TextOutputPrinter
Caused by: an exception which occurred:
in field capturedArgs
in object org.infinispan.rest.operations.mediatypes.impl.TextOutputPrinter$$Lambda$495/1513688834@5bc665d
{noformat}
> Getting keys via REST fails with SerializationException
> -------------------------------------------------------
>
> Key: ISPN-9707
> URL: https://issues.jboss.org/browse/ISPN-9707
> Project: Infinispan
> Issue Type: Bug
> Components: REST
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Priority: Major
>
> Obtaining all the keys from a cache, e.g.: http://192.168.1.7:8080/rest/my_default_cache causes errors for clustered servers:
> {noformat}
> ERROR [org.infinispan.remoting.rpc.RpcManagerImpl] (REST-ServerWorker-4-5) ISPN000073: Unexpected error while replicating:
> org.infinispan.commons.marshall.NotSerializableException: org.infinispan.rest.operations.mediatypes.impl.TextOutputPrinter
> Caused by: an exception which occurred:
> in field capturedArgs
> in object org.infinispan.rest.operations.mediatypes.impl.TextOutputPrinter$$Lambda$495/1513688834@5bc665d
> {noformat}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 1 month
[JBoss JIRA] (ISPN-9707) Getting keys via REST fails with SerializationException
by Gustavo Fernandes (Jira)
[ https://issues.jboss.org/browse/ISPN-9707?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-9707:
------------------------------------
Description:
Obtaining all the keys from a cache, e.g.: http://192.168.1.7:8080/rest/my_default_cache causes errors for clustered servers:
{noformat}
ERROR [org.infinispan.remoting.rpc.RpcManagerImpl] (REST-ServerWorker-4-5) ISPN000073: Unexpected error while replicating: org.infinispan.commons.marshall.NotSerializableException: org.infinispan.rest.operations.mediatypes.impl.TextOutputPrinter
Caused by: an exception which occurred:
in field capturedArgs
in object org.infinispan.rest.operations.mediatypes.impl.TextOutputPrinter$$Lambda$495/1513688834@5bc665d
{noformat}
> Getting keys via REST fails with SerializationException
> -------------------------------------------------------
>
> Key: ISPN-9707
> URL: https://issues.jboss.org/browse/ISPN-9707
> Project: Infinispan
> Issue Type: Bug
> Components: REST
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Priority: Major
>
> Obtaining all the keys from a cache, e.g.: http://192.168.1.7:8080/rest/my_default_cache causes errors for clustered servers:
> {noformat}
> ERROR [org.infinispan.remoting.rpc.RpcManagerImpl] (REST-ServerWorker-4-5) ISPN000073: Unexpected error while replicating: org.infinispan.commons.marshall.NotSerializableException: org.infinispan.rest.operations.mediatypes.impl.TextOutputPrinter
> Caused by: an exception which occurred:
> in field capturedArgs
> in object org.infinispan.rest.operations.mediatypes.impl.TextOutputPrinter$$Lambda$495/1513688834@5bc665d
> {noformat}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 1 month
[JBoss JIRA] (ISPN-9738) Support for entry iteration in the REST server
by Gustavo Fernandes (Jira)
Gustavo Fernandes created ISPN-9738:
---------------------------------------
Summary: Support for entry iteration in the REST server
Key: ISPN-9738
URL: https://issues.jboss.org/browse/ISPN-9738
Project: Infinispan
Issue Type: Enhancement
Components: REST
Affects Versions: 9.4.1.Final
Reporter: Gustavo Fernandes
Currently the REST server has an operation to get all keys that has limitations since all the keys are retrieved to a single node before serving to the client.
Ideally, it should have an efficient way of retrieving entries making use of iterators. The API should provide a cursor/scroll/handle so that the client can pull the data without causing memory issues.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 1 month