nodece opened a new pull request, #15761:
URL: https://github.com/apache/pulsar/pull/15761

   Signed-off-by: Zixuan Liu <[email protected]>
   
   ### Motivation
   
   When the close consumer command is received, we just disconnected and didn't 
remove the cache, which will cause us to receive repeated messages.
   
   This case happened in 
`org.apache.pulsar.broker.service.SubscriptionSeekTest#testSeekByFunctionAndMultiTopic`
 test of  #14883.
   
   ### Modifications
   
   - Use `remove()` instead of `get()`
   
   ### Documentation
   
   - [x] `no-need-doc` 
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to