2016-04-21 9:35 GMT+02:00 Kane Kim <[email protected]>: > Thanks for great explanation, David, that really helped me to understand > this part. What I'm suggesting is essentially this (and please correct me > if I'm telling obviously stupid things): > 1. Server tries to tell action1 to deliver messages (calling > EndTransaction) and has a loop here until it succeeds. > 2. Server tries to tell action2 to deliver messages (calling > EndTransaction) and has a loop here until it succeeds. > 3. Queue is locked/marked delivered/unlocked.
one final for today: you need to read and understand all the queue/wtp/wti/ruleset methods. That's also one of the main things for me to take time (memory doesn't server well if you need to be very specific). I guess this does not work, and much of the engine already does that for you. You can probably avoid much of that work if you follow my guideline and do it in the steps I proposed, because as you implement it that way, you'll naturally see how this works out with the rest of the engine. Note that the comment suggest this was meant to do at that place. So I personally would safe me that day or two of deep code reading and just take the three-step approach. But your YMMV. The plugin API doesn't need to change for that, there is sufficient provisioning inside it for extension (at least I think so). But again, it's already later over here and I have not yet done doing any real work on the things I really need to get done today... --Rainer > > As Rainer mentioned above that would lock only current queue where those > actions executed. > _______________________________________________ > rsyslog mailing list > http://lists.adiscon.net/mailman/listinfo/rsyslog > http://www.rsyslog.com/professional-services/ > What's up with rsyslog? Follow https://twitter.com/rgerhards > NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of > sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T > LIKE THAT. _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/ What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.

