Hi, I am writing a new output module. I am using batching and transaction. Because many of my processing is done in EndTransaction, what'll happen to the batch/transaction if endTransaction returns RS_RET_SUSPENDED? Will the same batch of messages go to Resume then go to BeginTranction/DoAction/EndTransaction?
The doc in http://www.rsyslog.com/doc/dev_oplugins.html talks about RS_RET_SUSPENDED in BeginTransaction/Doaction. But it is not clear to me what'll happen if it occurs in EndTransaction. the following is copied from the above link: However, if either beginTransaction() or doAction() return back an error state (including RS_RET_SUSPENDED), then the transaction is considered aborted. In result, the remaining calls in this cycle (e.g. endTransaction()) are never made and a new cycle (starting with beginTransaction() is begun when processing resumes. Thanks, Liwei _______________________________________________ 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.

