[infinispan-issues] [JBoss JIRA] (ISPN-11853) Error and Log handling in REST

Gustavo Fernandes (Jira) issues at jboss.org
Mon May 18 13:47:08 EDT 2020


    [ https://issues.redhat.com/browse/ISPN-11853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14103580#comment-14103580 ] 

Gustavo Fernandes commented on ISPN-11853:
------------------------------------------

I am not sure if NettyRestResponse.Builder thread safety is a problem, what conclusion did you get to [~william.burns]?

> Error and Log handling in REST
> ------------------------------
>
>                 Key: ISPN-11853
>                 URL: https://issues.redhat.com/browse/ISPN-11853
>             Project: Infinispan
>          Issue Type: Enhancement
>          Components: REST
>    Affects Versions: 10.1.8.Final
>            Reporter: Katia Aresti
>            Assignee: Gustavo Fernandes
>            Priority: Major
>              Labels: rest
>
> The consistency of the errors handling in the REST endpoint is not even in all the resources, and the completion stage should deal with exceptions raised instead of throwing them directly from the method
> Logs are missing in the REST endpoints, specially trace logs, which makes debugging in production hard
> Finally the NettyRestResponse.Builder apparently is not thread safe, so would be better to make it thread safe



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the infinispan-issues mailing list