summaryrefslogtreecommitdiffstats
path: root/runtime/batch.h
Commit message (Collapse)AuthorAgeFilesLines
* remove no longer used data memberRainer Gerhards2013-11-051-2/+0
|
* refactor: move pbShutdownImmediate to wti_tRainer Gerhards2013-11-051-1/+0
|
* refactor: remove no longer needed elements from batch_tRainer Gerhards2013-11-041-3/+1
|
* cleanup: multiple rulesets inside a single batch are now OKRainer Gerhards2013-11-041-8/+0
| | | | | They don't require special handling any longer, so do no longer care about them.
* more cleanupRainer Gerhards2013-11-041-11/+0
|
* remove no longer needed vars from batch structureRainer Gerhards2013-11-031-11/+1
|
* temporarily remove bExecWhenPrevWasSuspended handlingRainer Gerhards2013-11-021-1/+0
| | | | | | | also add comments on howto re-implement it inside the script engine (but we do not do this right now as we would like to do this together when we touch the script engine -- for now focussing on action handling).
* refactor: move action state to wti (as we are now on a per-thread basis)Rainer Gerhards2013-11-011-1/+0
|
* fix memory leak (regression from batch optimization work - unreleased)Rainer Gerhards2013-01-181-0/+1
|
* optimize memory layout for much better cache hitsRainer Gerhards2013-01-151-4/+11
| | | | | | | | Moave element status out of batch_obj_t because we get a *much* better cache hit ratio this way. Note that this is really a HUGE saving, even if it doesn't look so (both profiler data as well as practical tests indicate that!).
* optimize: use fixed size (8 bits) instead of enumRainer Gerhards2013-01-151-7/+6
| | | | | | looks like GCC, even if optimizing, uses 32 bits - at least this is suggested by the profiler results (both in terms of runtime and cache misses).
* queue: change generic msg ptr (pUsr) to be of msg_t typeRainer Gerhards2012-11-031-19/+3
|
* fix invalid state handling during action executionRainer Gerhards2012-09-251-2/+2
| | | | could lead to execution of not-to-be-executed action. very recent regression.
* new ruleengine: fixed action handling in regard to filtersRainer Gerhards2012-09-121-2/+3
| | | | This was not yet adapted to the new "active" structure.
* bugfix: fixed a memory leak and potential abort conditionRainer Gerhards2011-02-251-1/+7
| | | | | | | this could happen if multiple rulesets were used and some output batches contained messages belonging to more than one ruleset. fixes: http://bugzilla.adiscon.com/show_bug.cgi?id=226 fixes: http://bugzilla.adiscon.com/show_bug.cgi?id=218
* bug fixes in action processingRainer Gerhards2010-12-171-3/+8
| | | | | | | | | - bugfix: action processor released mememory too early, resulting in potential issue in retry cases (but very unlikely due to another bug, which I also fixed -- only after the fix this problem here became actually visible). - bugfix: batches which had actions in error were not properly retried in all cases
* made hardcoded max string number persistentRainer Gerhards2010-06-241-5/+3
| | | | see commit for reasoning
* bugfix: "$ActionExecOnlyWhenPreviousIsSuspended on" was brokenRainer Gerhards2010-06-241-0/+19
| | | | | | | | | Note that, as it looks, the directive was already broken in previous v5 versions. So while I solved what looked like a (intentional) regression from the performance tuning, I actually solved a previous regression as well ;) I have also added new test cases to the testbench in order to capture such problems in the future. This version does now look pretty good in shape.
* milestone(BUGGY): batch now pushed down to actionRainer Gerhards2010-06-151-1/+72
| | | | | | | at least in important cases (not for non-direct action queues and some other minor things). This version is definitely buggy, but may be tried with success on a non-production system. I will continue to work on the correctness, but needed to commit now to get a baseline.
* milestone commit(BUGGY): batch is now handed down to rule processingRainer Gerhards2010-06-101-0/+28
| | | | | | | | Now, the full batch is passed down to the rule, which then enqueues the elements as single messages. Note that this code has some known defects and needs more changes until it is correct again. This is primarily a commit to be able to return to a known-(somewhat)-good state.
* some cleanupRainer Gerhards2010-06-101-0/+6
| | | | | as well as some work in preparation of storing doAction params inside the batch
* implemented solution for cancel at shutdown/unprocessed entriesRainer Gerhards2009-10-261-1/+1
| | | | | We do now enqueue those objects that are left unprocessed. This enables us to delete the full batch, what is exactly what we need to do.
* solved the intended-discard-during-dequeue issueRainer Gerhards2009-05-191-0/+6
|
* t-delete list implemented, queue store drivers updated...Rainer Gerhards2009-05-181-0/+1
| | | | | | ... on the way to the ultra-reliable queue modes (redesign doc). This version does not really work, but is a good commit point. Next comes queue size calculation. DA mode does not yet work.
* action batch processing implementedRainer Gerhards2009-05-121-1/+3
| | | | ... passed initial tests, but of course more are needed
* moving to a cleaner implementation of batchesRainer Gerhards2009-05-121-0/+63
... now that we know what we need from a theoretical POV.