[ 
https://issues.apache.org/jira/browse/OAK-6901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16240077#comment-16240077
 ] 

Francesco Mari commented on OAK-6901:
-------------------------------------

{{TCP_NODELAY}} disables TCP's internal buffering for small packets. It makes 
sense for the client channels and the worker channels on the server, since we 
make buffering at application's level and don't need support from the protocol 
to optimize small writes. The option should be removed from the parent channel 
in the server, it definitely doesn't make sense there.

Regarding the reason why we are seeing the warning now, it might be related to 
[issue 6192|https://github.com/netty/netty/issues/6192] in Netty.

> Unknown channel option 'TCP_NODELAY' for channel warning in cold standby
> ------------------------------------------------------------------------
>
>                 Key: OAK-6901
>                 URL: https://issues.apache.org/jira/browse/OAK-6901
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: segment-tar, tarmk-standby
>    Affects Versions: 1.7.6
>            Reporter: Andrei Dulceanu
>            Assignee: Andrei Dulceanu
>            Priority: Minor
>              Labels: cold-standby
>             Fix For: 1.7.12
>
>
> After the netty upgrade in OAK-6564, there's a recurring warning appearing in 
> the server thread:
> {noformat}
> 18:54:44.691 [main] WARN  io.netty.bootstrap.ServerBootstrap - Unknown 
> channel option 'TCP_NODELAY' for channel '[id: 0xa64bc5c4]'
> {noformat}
> We need to see what's causing it (i.e. was that option removed in the latest 
> version? if yes, is there a substitute/change needed?).
> /cc [~frm]



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to