Duo Zhang created HBASE-27222:
---------------------------------

             Summary: Purge FutureReturnValueIgnored warnings from error prone
                 Key: HBASE-27222
                 URL: https://issues.apache.org/jira/browse/HBASE-27222
             Project: HBase
          Issue Type: Improvement
          Components: netty
            Reporter: Duo Zhang


We used to introduce a FutureUtils to purge the FutureReturnValueIgnored 
warnings in the async client implementation, to make sure we catch the 
exception from the callback.

For netty, we could apply the same trick. And there is another problem for 
netty that channel.write and some other methods will also return a 
ChannelFuture but usually we just do nothing on it, this will generated a 
FutureReturnValueIgnored warning too. We could add a logging listener to log 
the errors if any.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to