Re: QMF method "queueMoveMessages" can loose one message

2013-09-05 Thread Alan Conway
On 09/05/2013 08:28 AM, Pavel Moravec wrote: https://issues.apache.org/jira/browse/QPID-5116 raised for it. I already proposed a patch there, though not sure if it can't break anything.. I added some comments to the JIRA. As a committer I suggest you: - put the patch up for review, I'd includ

Re: QMF method "queueMoveMessages" can loose one message

2013-09-05 Thread Pavel Moravec
uot; > Sent: Wednesday, September 4, 2013 4:09:20 PM > Subject: Re: QMF method "queueMoveMessages" can loose one message > > On 09/04/2013 06:19 AM, Pavel Moravec wrote: > > Hi all, > > I identified a use case when moving (via QMF) more messages than the > >

Re: QMF method "queueMoveMessages" can loose one message

2013-09-04 Thread Alan Conway
On 09/04/2013 06:19 AM, Pavel Moravec wrote: Hi all, I identified a use case when moving (via QMF) more messages than the destination queue can handle causes one message loss. See reproducer when attempting to move 300 messages to a queue with max count 100: $ qpid-receive -a "ringQueue; {cre

Re: QMF method "queueMoveMessages" can loose one message

2013-09-04 Thread Jakub Scholz
Hi Pavel, >From the user perspective ... functions called "move" are usually not expected to loose anything. If you move files with the "mv" or "move" commands and the target disk is full, the files which didn't fit stay in the source location. They are not deleted. I guess one would expect the sa

QMF method "queueMoveMessages" can loose one message

2013-09-04 Thread Pavel Moravec
Hi all, I identified a use case when moving (via QMF) more messages than the destination queue can handle causes one message loss. See reproducer when attempting to move 300 messages to a queue with max count 100: $ qpid-receive -a "ringQueue; {create:always, node:{ x-declare:{ arguments:{'qpi