summaryrefslogtreecommitdiffstats
path: root/runtime
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master-ruleeng' into master-ruleeng-simdRainer Gerhards2013-11-076-23/+25
|\
| * Merge branch 'master' into master-ruleengRainer Gerhards2013-11-076-23/+25
| |\ | | | | | | | | | | | | | | | Conflicts: runtime/wti.c runtime/wti.h
| | * bugfix: regular workers are no longer started if DA worker is activePavel Levshin2013-11-071-8/+7
| | | | | | | | | | | | | | | form mail: Look, below, if it is time to activate DA worker, we call it explicitly. But in this case we do not advise regular workers. They are likely already running at this point, but it is not guaranteed. What if, for example, the system is set to start additional workers when the queue is going over high watermark? What if HighWatermark is set to 1? Regular workers will not be started, and DA worker may fail. Thus, it is reasonable to advise regular workers even if we are going DA.
| | * cleanup no longer needed codeRainer Gerhards2013-11-074-8/+1
| | |
| | * Merge branch 'master' into master-newwtipoolRainer Gerhards2013-11-071-2/+3
| | |\
| | | * do not adjust batch size for disk queuesRainer Gerhards2013-11-071-1/+1
| | | |
| | | * do not complain for queue size on DA queuesRainer Gerhards2013-11-061-1/+2
| | | |
| | * | improve worker thread pool handlingPavel Levshin2013-11-064-6/+15
| | |/ | | | | | | | | | | | | among others, make possible that workers really timeout and the pool thus shrinks
* | | refactor iparams to use arrayRainer Gerhards2013-11-062-10/+16
| | | | | | | | | | | | this is also prep work for a single doTransaction() output mode api
* | | refactor action disablingRainer Gerhards2013-11-062-6/+1
| | |
* | | enforce that actions can no longer "do something" on action creationRainer Gerhards2013-11-061-3/+2
| | | | | | | | | | | | | | | This doesn't play well with config load/priv drop and was not strictly enforced in v7.
* | | make batches of 1 commit automatically after each actionRainer Gerhards2013-11-062-0/+14
| | | | | | | | | | | | | | | This improves failover handling and makes it consistent with doc (precise handling for batches of one).
* | | re-enable bPrevWasSuspended handlingRainer Gerhards2013-11-061-0/+3
| | |
* | | remove no longer used data memberRainer Gerhards2013-11-051-2/+0
| | |
* | | Merge branch 'master-ruleeng' into master-ruleeng-simdRainer Gerhards2013-11-051-6/+14
|\| |
| * | Merge branch 'master' into master-ruleengRainer Gerhards2013-11-051-6/+14
| |\|
| | * Merge branch 'v7-stable'Rainer Gerhards2013-11-051-6/+14
| | |\
| | | * improved checking of queue config parameters on startupRainer Gerhards2013-11-051-6/+7
| | | |
| | | * emit warning message if queue.size is set dangerously lowRainer Gerhards2013-11-051-0/+7
| | | |
* | | | cleanup no longer used codeRainer Gerhards2013-11-052-22/+0
| | | |
* | | | re-enable main queue direct modeRainer Gerhards2013-11-053-18/+76
| | | |
* | | | simplify submitToActionQ...() code pathRainer Gerhards2013-11-051-0/+6
| | | |
* | | | refactor bShutdownImmediate handlingRainer Gerhards2013-11-052-13/+23
| | | |
* | | | remove no longer needed codeRainer Gerhards2013-11-052-25/+0
| | | |
* | | | Merge branch 'master-ruleeng' into master-ruleeng-simdRainer Gerhards2013-11-052-1/+28
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: runtime/ruleset.c required refactoring of (asnyc) call code
| * | | Merge branch 'master' into master-ruleengRainer Gerhards2013-11-052-1/+32
| |\| | | | | | | | | | | | | | | | | | Conflicts: runtime/ruleset.c
| | * | Merge branch 'v7-stable'Rainer Gerhards2013-11-052-1/+32
| | |\|
| | | * Merge branch 'v7-stable-call-ruleset-queue' into v7-stableRainer Gerhards2013-11-052-1/+32
| | | |\ | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| | | | * bugfix: call to ruleset with async queue did not use the queueRainer Gerhards2013-06-262-1/+32
| | | | | | | | | | | | | | | | | | | | closes: http://bugzilla.adiscon.com/show_bug.cgi?id=443
* | | | | support force termination in script engineRainer Gerhards2013-11-051-0/+5
| | | | |
* | | | | refactor: move pbShutdownImmediate to wti_tRainer Gerhards2013-11-053-3/+4
| | | | |
* | | | | refactor: remove no longer needed elements from batch_tRainer Gerhards2013-11-042-5/+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
| | | | |
* | | | | cleanup: remove no longer needed codeRainer Gerhards2013-11-041-55/+0
| | | | |
* | | | | refactor script execution to work on one message at a timeRainer Gerhards2013-11-041-233/+72
| | | | |
* | | | | push bShutdownImmediate ptr down to commit processRainer Gerhards2013-11-041-3/+3
| | | | |
* | | | | experimentally split ruleset execution in exec and commit phaseRainer Gerhards2013-11-043-11/+55
| | | | |
* | | | | refactor: move batch "unrolling" up one layerRainer Gerhards2013-11-041-1/+16
| | | | |
* | | | | remove no longer needed vars from batch structureRainer Gerhards2013-11-032-15/+1
| | | | |
* | | | | temporarily remove bExecWhenPrevWasSuspended handlingRainer Gerhards2013-11-022-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 output side of action queue - main shotRainer Gerhards2013-11-021-11/+13
| | | | | | | | | | | | | | | | | | | | | | | | | this needs refinement, but basically we now do no longer rely on batches for the sub-functions.
* | | | | refactor: move action resume retry counter to wti_tRainer Gerhards2013-11-011-0/+19
| | | | |
* | | | | some debug aids & useful commments for going forwardRainer Gerhards2013-11-011-1/+13
| | | | |
* | | | | refactor: move handling too-frequent tryResume == OK to wti_tRainer Gerhards2013-11-011-0/+18
| | | | |
* | | | | refactor: move action state to wti (as we are now on a per-thread basis)Rainer Gerhards2013-11-013-2/+23
|/ / / /
* | | | remove pData emulation from v8 omod interfaceRainer Gerhards2013-10-311-2/+0
| | | | | | | | | | | | | | | | | | | | breaks compilation of not converted modules - but these won't work anyways. So better change this now.
* | | | remove pData from tryResume callbackRainer Gerhards2013-10-301-2/+1
| | | |
* | | | omelasticsearch: upgrade to v8 ouptut module interfaceRainer Gerhards2013-10-301-2/+3
| | | | | | | | | | | | | | | | Note that this code here has NOT yet been tested.
* | | | call freeWrkrInstance() on worker thread terminationRainer Gerhards2013-10-292-4/+19
| | | |