[GitHub] ivankelly commented on issue #2401: Consumer often discards received messages

2018-08-24 Thread GitBox
ivankelly commented on issue #2401: Consumer often discards received messages
URL: 
https://github.com/apache/incubator-pulsar/issues/2401#issuecomment-415813062
 
 
   Spent some time on this today, still no root cause, but it looks very much 
like something is holding on to a bytebuf that has been released back to the 
pool, and then it's writing to it. Will continue looking. 


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] ivankelly commented on issue #2401: Consumer often discards received messages

2018-08-24 Thread GitBox
ivankelly commented on issue #2401: Consumer often discards received messages
URL: 
https://github.com/apache/incubator-pulsar/issues/2401#issuecomment-415677594
 
 
   Yes, it's only a 2 line change to make it work.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] ivankelly commented on issue #2401: Consumer often discards received messages

2018-08-23 Thread GitBox
ivankelly commented on issue #2401: Consumer often discards received messages
URL: 
https://github.com/apache/incubator-pulsar/issues/2401#issuecomment-415495334
 
 
   I have a local repro, will look into it more in the morning.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] ivankelly commented on issue #2401: Consumer often discards received messages

2018-08-23 Thread GitBox
ivankelly commented on issue #2401: Consumer often discards received messages
URL: 
https://github.com/apache/incubator-pulsar/issues/2401#issuecomment-415368815
 
 
   What rate are messages arriving at the topic in question?
   Is the client processing messages for just this topic, or other topics also?
   
   I'm trying to get a feel for how we could repro this locally.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] ivankelly commented on issue #2401: Consumer often discards received messages

2018-08-23 Thread GitBox
ivankelly commented on issue #2401: Consumer often discards received messages
URL: 
https://github.com/apache/incubator-pulsar/issues/2401#issuecomment-415368282
 
 
   Looks like a bytebuf issue. When reading a bytebuf, we often do things like 
reading the size from the packet and setting the writeIndex to the current 
writeIndex + size, so that it can be passed into the protobuf parser. This is 
why the write index seems so messed up. Do you have a reliable repro, or do you 
just see it happening regularly in production? 
   
   Is TLS auth enabled, or just TLS transport? this is going to be a bytebuf 
pooling issue of some sort with TLs.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services