You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/05/21 20:58:32 UTC

[GitHub] [pulsar] lovelle opened a new pull request #4331: Bugfix - don't discard first entry after reset

lovelle opened a new pull request #4331: Bugfix - don't discard first entry after reset
URL: https://github.com/apache/pulsar/pull/4331
 
 
   *Motivation*
   
   Using reader consumer with start message id would result in the first message
   being discarded due to less than or equals expression.
   
   This was reported by a `vvy` on slack, no issue has been created to track this.
   
   *Modifications*
   
     - Fix less than or equals when discarding already processed message.
     - Add missing release() and recycle() for discarded message.
     - Add test case to assert the start of specific message id at expected the
       position.
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services