Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix erronous errTimedOut ("abandoned subscription...because consuming… #730

Merged
merged 1 commit into from
Aug 16, 2016
Merged

fix erronous errTimedOut ("abandoned subscription...because consuming… #730

merged 1 commit into from
Aug 16, 2016

Commits on Aug 16, 2016

  1. fix erronous errTimedOut ("abandoned subscription...because consuming…

    … was taking too long")
    
    The expiryTimer continues to run after msg is delivered to
    child.messages. If <-child.feeder takes > MaxProcessingTime (which
    depends on how fast the broker runs), the expiryTimer can expire
    before we Reset() it. If this happens there is a message waiting
    in expiryTimer.C which, if we don't clear it out, makes us think
    the consumer stalled.
    
    This is reproduced with a high traffic partition on a busy
    broker, and measuring the time each line of the loop takes. The
    >100ms stall is the <-child.feeder inside 'range child.feeder'.
    nsd20463 committed Aug 16, 2016
    Configuration menu
    Copy the full SHA
    906ed72 View commit details
    Browse the repository at this point in the history