lhotari commented on issue #22601: URL: https://github.com/apache/pulsar/issues/22601#issuecomment-2122988851
This `Got exception java.lang.IllegalArgumentException: newPosition > limit: (2094 > 88)` issue also reproduces with Pulsar 3.2.3: ``` [pulsar-testenv-deployment-broker-0] 2024-05-21T16:11:09,314+0000 [pulsar-io-3-11] WARN org.apache.pulsar.broker.service.ServerCnx - [/192.168.122.1:51732] Got exception java.lang.Il legalArgumentException: newPosition > limit: (2094 > 88) [pulsar-testenv-deployment-broker-0] at java.base/java.nio.Buffer.createPositionException(Buffer.java:341) [pulsar-testenv-deployment-broker-0] at java.base/java.nio.Buffer.position(Buffer.java:316) [pulsar-testenv-deployment-broker-0] at java.base/java.nio.ByteBuffer.position(ByteBuffer.java:1516) [pulsar-testenv-deployment-broker-0] at java.base/java.nio.HeapByteBuffer.get(HeapByteBuffer.java:185) [pulsar-testenv-deployment-broker-0] at io.netty.buffer.UnpooledHeapByteBuf.setBytes(UnpooledHeapByteBuf.java:268) [pulsar-testenv-deployment-broker-0] at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1113) [pulsar-testenv-deployment-broker-0] at io.netty.buffer.ReadOnlyByteBufferBuf.copy(ReadOnlyByteBufferBuf.java:431) [pulsar-testenv-deployment-broker-0] at io.netty.buffer.DuplicatedByteBuf.copy(DuplicatedByteBuf.java:210) [pulsar-testenv-deployment-broker-0] at io.netty.buffer.AbstractByteBuf.copy(AbstractByteBuf.java:1194) [pulsar-testenv-deployment-broker-0] at org.apache.pulsar.common.protocol.ByteBufPair$CopyingEncoder.write(ByteBufPair.java:149) [pulsar-testenv-deployment-broker-0] at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:893) [pulsar-testenv-deployment-broker-0] at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:875) [pulsar-testenv-deployment-broker-0] at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:984) [pulsar-testenv-deployment-broker-0] at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:868) [pulsar-testenv-deployment-broker-0] at org.apache.pulsar.broker.service.PulsarCommandSenderImpl.lambda$sendMessagesToConsumer$1(PulsarCommandSenderImpl.java:277) [pulsar-testenv-deployment-broker-0] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:173) [pulsar-testenv-deployment-broker-0] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:166) [pulsar-testenv-deployment-broker-0] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) [pulsar-testenv-deployment-broker-0] at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:413) [pulsar-testenv-deployment-broker-0] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) [pulsar-testenv-deployment-broker-0] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [pulsar-testenv-deployment-broker-0] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [pulsar-testenv-deployment-broker-0] at java.base/java.lang.Thread.run(Thread.java:840) ``` I can reproduce consistently: 1. run `./consume.sh lari_test`, `./consume.sh lari_test2` and `./consume.sh lari_test3` and terminate after subscriptions are created. 2. start `./produce.sh` and observe with `./logs.sh` 3. start `./consume.sh lari_test`, `./consume.sh lari_test2` and `./consume.sh lari_test3`at about the same time This might be related to the `parseMessageMetadata` error, however it can also be another issue. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@pulsar.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org