[New-bugs-announce] [issue29454] Shutting down consumer on a remote queue

Tom report at bugs.python.org
Sun Feb 5 11:18:38 EST 2017


New submission from Tom:

Using code adapted from the example in the docs (https://docs.python.org/3/library/multiprocessing.html#using-a-remote-manager), if you create a remote queue server, a producer which puts items in the queue and a consumer which consumes elements from the queue. If the consumer gets killed and restarted again, it misses one item from the queue. For a reproducable example see the stackoverflow reference below.

Expected: items stay in the queue until a consumer consumes it
Happens: one item still gets consumed from the queue even if after a consumer gets killed

Version: Python 3.6.0
OS: Ubuntu 16.10

reference: http://stackoverflow.com/questions/42052248/remote-queue-consumer-misses-first-message-after-restart

----------
messages: 287055
nosy: Semi
priority: normal
severity: normal
status: open
title: Shutting down consumer on a remote queue
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29454>
_______________________________________


More information about the New-bugs-announce mailing list