LindaSummer commented on issue #2350:
URL: https://github.com/apache/kvrocks/issues/2350#issuecomment-2143465930

   Hi @git-hulk ,
   
   This should be forget to update the `pending_number` in consumer meta.
   
https://github.com/apache/kvrocks/blob/d2e0feb989bd5855480deee61ebf932327e5ca93/src/types/redis_stream.cc#L351-L356
   
   When remove consumer, the group will remove the pending count from the 
deleted consumer, the inconsistency emerged and may lead to overflow.
   
https://github.com/apache/kvrocks/blob/d2e0feb989bd5855480deee61ebf932327e5ca93/src/types/redis_stream.cc#L687-L688
   
https://github.com/apache/kvrocks/blob/d2e0feb989bd5855480deee61ebf932327e5ca93/src/types/redis_stream.cc#L717-L720
   


-- 
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