On Fri, Feb 15, 2013 at 02:41:03PM -0800, Iuri G. wrote: > > > > OK, I investigated further and could reproduce with two worker, a > > Ruote::Participant (instead of Ruote::StorageParticipant) and it also > > reproduces with the FS storage that ships with ruote. > > > > I think there is a problem with the code that removes expressions once > > they're done. I'll go on investigating. > > I'm glad you were able to reproduce the error on your end too. > > Now that you pointed me to right direction I will try to investigate too.
Hello Iuri, I investigated further and added some debug output to ruote. I noticed that the "dispatched" message was processed by the 'other' worker right after the participant expression got deleted, re-inserting the expression. The debug statement and the output are at: https://gist.github.com/anonymous/4974339 For example, the "dispatched" message is processed by worker with pid 1347 (put), while pid 1349 is processing the "reply" message (delete): ---8<--- 17:26:26.173118 p1347 processing msgs 1347!... 0 dispatched 0_1_0!8c58!20130217-0826-pasoyaza-kosemi 17:26:26.174032 p1347 PUT expressions 0_1_0!8c58!20130217-0826-pasoyaza-kosemi 1 17:26:26.174096 p1349 delete? expressions 0_1_0!8c58!20130217-0826-pasoyaza-kosemi 1 delete:true 17:26:26.174146 p1349 DEL expressions 0_1_0!8c58!20130217-0826-pasoyaza-kosemi 1 17:26:26.176682 p1349 DEL expressions 0_1_0!8c58!20130217-0826-pasoyaza-kosemi 1 NilClass 17:26:26.179431 p1349 processing msgs 1349!... 0 reply 0_1!caff7!20130217-0826-pasoyaza-kosemi from 0_1_0!8c58!20130217-0826-pasoyaza-kosemi 17:26:26.179901 p1347 PUT expressions 0_1_0!8c58!20130217-0826-pasoyaza-kosemi 1 NilClass --->8--- The put should fail (with retry), but it actually succeeds. The same thing seems to happen with ruote-sequel. My next step is to determine if it's a ruote-fs defect (hence it would be a ruote-sequel defect too) or something else. About to write tests that poke hard at the weakness. Stay tuned, -- John Mettraux - http://lambda.io/jmettraux -- -- you received this message because you are subscribed to the "ruote users" group. to post : send email to [email protected] to unsubscribe : send email to [email protected] more options : http://groups.google.com/group/openwferu-users?hl=en --- You received this message because you are subscribed to the Google Groups "ruote" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
