ruote tmp/log_2012-08-06.html

2012-08-06 07:42:04 utc hallucyngenyc Hi everyone
2012-08-06 07:42:22 utc hallucyngenyc just a quick question
2012-08-06 07:42:45 utc hallucyngenyc if I launch a process and then delete it's workitem, say I call purge! on the storage, for instance
2012-08-06 07:43:07 utc hallucyngenyc does the process become corrupted or is there any use for a workitemless process?
2012-08-06 07:50:54 utc jmettraux hallucyngenyc: hello
2012-08-06 07:51:11 utc jmettraux deleting a workitem != storage.purge!
2012-08-06 07:51:42 utc jmettraux storage.purge! will clean out the storage, no more processes, no more workitems, nothing more
2012-08-06 07:51:43 utc hallucyngenyc :o
2012-08-06 07:52:11 utc hallucyngenyc I must have missconfigured something then
2012-08-06 07:52:16 utc hallucyngenyc because while purge!
2012-08-06 07:52:22 utc hallucyngenyc deletes all workitems
2012-08-06 07:52:29 utc hallucyngenyc the processes remain
2012-08-06 07:52:57 utc jmettraux hallucyngenyc: did I already link you to that: ?
2012-08-06 07:53:16 utc hallucyngenyc You did, you did
2012-08-06 07:53:23 utc hallucyngenyc give me a minute :)
2012-08-06 07:54:57 utc hallucyngenyc Basically, I'm in a vanilla ruote-kit instalation
2012-08-06 07:55:09 utc hallucyngenyc I've registered a single participant
2012-08-06 07:56:04 utc hallucyngenyc on the ruote-kit initializer
2012-08-06 07:56:14 utc hallucyngenyc then I've launched a lot of processes with this:
2012-08-06 07:56:30 utc hallucyngenyc RuoteKit.engine.launch'app/assets/processes/test.xml','r').read
2012-08-06 07:56:44 utc hallucyngenyc and after that I've called:
2012-08-06 07:56:55 utc hallucyngenyc RuoteKit.storage_participant.purge!
2012-08-06 07:57:09 utc hallucyngenyc now when I go to the ruote-kit dashboard
2012-08-06 07:57:12 utc jmettraux RuoteKit.engine.launch('app/assets/processes/test.xml'))
2012-08-06 07:57:29 utc hallucyngenyc there are no workitems but all the processes are there
2012-08-06 07:57:41 utc hallucyngenyc and I can read on every process: workitems 1 out, 0 in storage participant
2012-08-06 07:57:41 utc jmettraux hallucyngenyc: you were telling me that you were calling #purge! on the storage, not on the storage participant
2012-08-06 07:58:00 utc jmettraux 16:35 hallucyngenyc: if I launch a process and then delete it's workitem, say I call purge! on the storage, for instance
2012-08-06 07:58:10 utc jmettraux please be precise, it's saving our time
2012-08-06 07:58:45 utc hallucyngenyc oh, I'm still a bit confused with the difference between the storage and a storage_participant to be honest, sorry
2012-08-06 07:59:01 utc hallucyngenyc storage is like the ruote db and a storage participant is a participant implemented in that db yes?
2012-08-06 07:59:59 utc jmettraux a storage participant is a participant that keeps the workitems it receives in the ruote storage
2012-08-06 08:00:34 utc hallucyngenyc ok, just what I thought
2012-08-06 08:00:59 utc hallucyngenyc so, I understand that I was clearing the storage participant and so only the workitems that this participant was holding
2012-08-06 08:01:14 utc hallucyngenyc clearing -> purging
2012-08-06 09:19:54 utc hallucyngenyc how can I access the storage from ruote-kit
2012-08-06 09:19:55 utc hallucyngenyc ?
2012-08-06 09:27:22 utc hallucyngenyc found it myslef ->!
2012-08-06 12:17:14 utc hartog hi all
2012-08-06 12:36:24 utc jmettraux hello!