Kal'tsit
Kal'tsit
挖个坟 ##肉鸽内存占用竟然没有其他长草高? 如果是OCR内存的缓存问题,那长时间肉鸽(开个10把左右)不是应该有更高占用才对嘛? 
> I haven't checked it yet, but there's a possibility that the test code contains a race condition with the `receiptTracker` handling. > You can remove `if (receipts != null)...
> [@YinY1](https://github.com/YinY1) I created https://github.com/lhotari/pulsar-playground/blob/master/src/main/java/com/github/lhotari/pulsar/playground/TestScenarioIssue25145.java based on PulsarBatchAckPseudoDemo. I wasn't able to reproduce the problem after fixing the race condition. Thank you so much for providing the fix code! And...
> > Additionally, I run this test demo and broker 4.0.8 on k8s. > > [@YinY1](https://github.com/YinY1) Do you run the test case within the Pulsar cluster? Do you connect to...
@berg223 I used both `Earliest` and `Latest` in other test code (not this reproduce code) and still reproduce the problem, so I didn't set this option in the reproduce code;...
@berg223 I set `subscriptionInitialPosition(SubscriptionInitialPosition.Earliest)` (use your full code) and use following thread order and reproduced it: ```java Thread producerThread = startThread(() -> producerTask(client)); Thread consumerThread1 = startThread(() -> consumerTask(client, "sub-1"));...
I suppose that this bug may caused by `MultiTopicsConsumerImpl.receiveMessageFromConsumer()`. More specificly, consumer async received a batch of messages, then validated consumer epoch. If `redeliverUnacknowledgedMessages` increses epoch concurrently, messages with same...