Closed slobodanadamovic closed 1 year ago
Pinging @elastic/es-distributed (Team:Distributed)
The actual cause is:
[2023-03-02T08:51:02,724][WARN ][o.e.t.OutboundHandler ] [v8.8.0-remote-0] failed to serialize outbound message [Response{103}{false}{false}{false}{class org.elasticsearch.transport.TransportActionProxy$BytesTransportResponse}]
java.lang.UnsupportedOperationException: null
at org.elasticsearch.common.bytes.BytesReference.array(BytesReference.java:203) ~[elasticsearch-8.8.0-SNAPSHOT.jar:?]
at org.elasticsearch.common.bytes.ReleasableBytesReference.array(ReleasableBytesReference.java:239) ~[elasticsearch-8.8.0-SNAPSHOT.jar:?]
at org.elasticsearch.transport.TransportActionProxy$BytesTransportResponse.writeTo(TransportActionProxy.java:113) ~[elasticsearch-8.8.0-SNAPSHOT.jar:?]
at org.elasticsearch.transport.OutboundMessage.serialize(OutboundMessage.java:70) ~[elasticsearch-8.8.0-SNAPSHOT.jar:?]
at org.elasticsearch.transport.OutboundHandler.sendMessage(OutboundHandler.java:178) ~[elasticsearch-8.8.0-SNAPSHOT.jar:?]
at org.elasticsearch.transport.OutboundHandler.sendResponse(OutboundHandler.java:138) ~[elasticsearch-8.8.0-SNAPSHOT.jar:?]
at org.elasticsearch.transport.TcpTransportChannel.sendResponse(TcpTransportChannel.java:58) ~[elasticsearch-8.8.0-SNAPSHOT.jar:?]
at org.elasticsearch.transport.TaskTransportChannel.sendResponse(TaskTransportChannel.java:44) ~[elasticsearch-8.8.0-SNAPSHOT.jar:?]
at org.elasticsearch.transport.TransportActionProxy$ProxyRequestHandler$1.handleResponse(TransportActionProxy.java:62) ~[elasticsearch-8.8.0-SNAPSHOT.jar:?]
at org.elasticsearch.transport.TransportService$UnregisterChildTransportResponseHandler.handleResponse(TransportService.java:1653) ~[elasticsearch-8.8.0-SNAPSHOT.jar:?]
at org.elasticsearch.transport.TransportService$ContextRestoreResponseHandler.handleResponse(TransportService.java:1372) ~[elasticsearch-8.8.0-SNAPSHOT.jar:?]
at org.elasticsearch.transport.InboundHandler.doHandleResponse(InboundHandler.java:387) ~[elasticsearch-8.8.0-SNAPSHOT.jar:?]
at org.elasticsearch.transport.InboundHandler.handleResponse(InboundHandler.java:336) ~[elasticsearch-8.8.0-SNAPSHOT.jar:?]
at org.elasticsearch.transport.InboundHandler.messageReceived(InboundHandler.java:142) ~[elasticsearch-8.8.0-SNAPSHOT.jar:?]
at org.elasticsearch.transport.InboundHandler.inboundMessage(InboundHandler.java:95) ~[elasticsearch-8.8.0-SNAPSHOT.jar:?]
at org.elasticsearch.transport.TcpTransport.inboundMessage(TcpTransport.java:832) ~[elasticsearch-8.8.0-SNAPSHOT.jar:?]
at org.elasticsearch.transport.InboundPipeline.forwardFragments(InboundPipeline.java:150) ~[elasticsearch-8.8.0-SNAPSHOT.jar:?]
at org.elasticsearch.transport.InboundPipeline.doHandleBytes(InboundPipeline.java:121) ~[elasticsearch-8.8.0-SNAPSHOT.jar:?]
at org.elasticsearch.transport.InboundPipeline.handleBytes(InboundPipeline.java:86) ~[elasticsearch-8.8.0-SNAPSHOT.jar:?]
at org.elasticsearch.transport.netty4.Netty4MessageInboundHandler.channelRead(Netty4MessageInboundHandler.java:63) ~[?:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[?:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[?:?]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[?:?]
at io.netty.handler.logging.LoggingHandler.channelRead(LoggingHandler.java:280) ~[?:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) ~[?:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[?:?]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[?:?]
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) ~[?:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[?:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[?:?]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[?:?]
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) ~[?:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) ~[?:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[?:?]
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) ~[?:?]
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) ~[?:?]
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) ~[?:?]
at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:689) ~[?:?]
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:652) ~[?:?]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) ~[?:?]
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[?:?]
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[?:?]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Which seems to be introduced by PR: https://github.com/elastic/elasticsearch/pull/93799 cc: @dnhatn
Sec fixing this, I know where this is coming from.
@original-brownbear Thanks for fixing this quickly.
Build scan: https://gradle-enterprise.elastic.co/s/5a257lvuesvca/tests/:qa:multi-cluster-search:v8.8.0%23multi-cluster/org.elasticsearch.search.CCSDuelIT/testTermsLookup
Reproduction line:
Applicable branches: main
Reproduces locally?: Didn't try
Failure history: https://gradle-enterprise.elastic.co/scans/tests?tests.container=org.elasticsearch.search.CCSDuelIT&tests.test=testTermsLookup
Failure excerpt: