[JBoss JIRA] (ISPN-10983) Infinispan RestClientOkHttp keeping the process alive
by Gustavo Fernandes (Jira)
[ https://issues.jboss.org/browse/ISPN-10983?page=com.atlassian.jira.plugin... ]
Gustavo Fernandes commented on ISPN-10983:
------------------------------------------
The Rest client keeps connections pools open, so it does not exit normally. You need to call {{ restClient.close(); }} after you're done with it
> Infinispan RestClientOkHttp keeping the process alive
> -----------------------------------------------------
>
> Key: ISPN-10983
> URL: https://issues.jboss.org/browse/ISPN-10983
> Project: Infinispan
> Issue Type: Bug
> Components: REST
> Affects Versions: 10.1.0.Beta1
> Reporter: Gustavo Lira Silva
> Assignee: Gustavo Fernandes
> Priority: Major
>
> RestClientOkHttp is keeping the process alive, the process is async so the response are return, we are able to get the body response but the process still alive
> For example:
> {code:java}
> RestClientOkHttp restClient = new RestClientOkHttp(new RestClientConfigurationBuilder().build());
> RestResponse response = restClient.cacheManager("default").stats().toCompletableFuture().get();
> System.out.println(response.getBody());
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 4 months
[JBoss JIRA] (ISPN-10990) The Hot Rod server logs warnings about non-tx caches too much
by Tristan Tarrant (Jira)
[ https://issues.jboss.org/browse/ISPN-10990?page=com.atlassian.jira.plugin... ]
Tristan Tarrant updated ISPN-10990:
-----------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/7619
> The Hot Rod server logs warnings about non-tx caches too much
> -------------------------------------------------------------
>
> Key: ISPN-10990
> URL: https://issues.jboss.org/browse/ISPN-10990
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 9.4.16.Final, 10.1.0.Beta1
> Reporter: Tristan Tarrant
> Assignee: Tristan Tarrant
> Priority: Major
> Fix For: 10.1.0.CR1
>
>
> Certain Hot Rod logs should be logged only once:
> ISPN-006010 Conditional operation '%s' should be used with transactional caches, otherwise data inconsistency issues could arise under failure situations
> ISPN-006011 Operation '%s' forced to return previous value should be used on transactional caches, otherwise data inconsistency issues could arise under failure situations
> ISPN-028024 Not wrapping custom marshaller with media type '%s' since the format is already supported by the server
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 4 months
[JBoss JIRA] (ISPN-10990) The Hot Rod server logs warnings about non-tx caches too much
by Tristan Tarrant (Jira)
[ https://issues.jboss.org/browse/ISPN-10990?page=com.atlassian.jira.plugin... ]
Tristan Tarrant updated ISPN-10990:
-----------------------------------
Status: Open (was: New)
> The Hot Rod server logs warnings about non-tx caches too much
> -------------------------------------------------------------
>
> Key: ISPN-10990
> URL: https://issues.jboss.org/browse/ISPN-10990
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 9.4.16.Final, 10.1.0.Beta1
> Reporter: Tristan Tarrant
> Assignee: Tristan Tarrant
> Priority: Major
> Fix For: 10.1.0.CR1
>
>
> Certain Hot Rod logs should be logged only once:
> ISPN-006010 Conditional operation '%s' should be used with transactional caches, otherwise data inconsistency issues could arise under failure situations
> ISPN-006011 Operation '%s' forced to return previous value should be used on transactional caches, otherwise data inconsistency issues could arise under failure situations
> ISPN-028024 Not wrapping custom marshaller with media type '%s' since the format is already supported by the server
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 4 months
[JBoss JIRA] (ISPN-10990) The Hot Rod server logs warnings about non-tx caches too much
by Tristan Tarrant (Jira)
Tristan Tarrant created ISPN-10990:
--------------------------------------
Summary: The Hot Rod server logs warnings about non-tx caches too much
Key: ISPN-10990
URL: https://issues.jboss.org/browse/ISPN-10990
Project: Infinispan
Issue Type: Bug
Affects Versions: 10.1.0.Beta1, 9.4.16.Final
Reporter: Tristan Tarrant
Assignee: Tristan Tarrant
Fix For: 10.1.0.CR1
Certain Hot Rod logs should be logged only once:
ISPN-006010 Conditional operation '%s' should be used with transactional caches, otherwise data inconsistency issues could arise under failure situations
ISPN-006011 Operation '%s' forced to return previous value should be used on transactional caches, otherwise data inconsistency issues could arise under failure situations
ISPN-028024 Not wrapping custom marshaller with media type '%s' since the format is already supported by the server
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 4 months