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 <rep...@bugs.python.org>
<http://bugs.python.org/issue29454>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to