summaryrefslogtreecommitdiffstats
path: root/action.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'v7-devel' into tmpRainer Gerhards2013-11-291-11/+47
|\ | | | | | | | | Conflicts: action.c
| * actions now report if they suspend and resume themselvesRainer Gerhards2013-11-291-7/+12
| |
| * add new impstats action counters:Rainer Gerhards2013-11-291-2/+20
| | | | | | | | | | | | * suspended * suspended.duration * resumed
| * bugfix: action suspend timeout was not increasedRainer Gerhards2013-11-291-3/+6
| |
| * emit internal message when action is suspended and resumedRainer Gerhards2013-11-291-6/+16
| |
| * use const keyword at (some) appropriate placesRainer Gerhards2013-11-291-1/+1
| |
* | Merge branch 'v7-devel'Rainer Gerhards2013-11-191-3/+4
|\|
| * queue.workerThreadMinimumMessage set to queue.size / num workersRainer Gerhards2013-11-191-1/+1
| |
| * bugfix: legacy directive $ActionQueueWorkerThreads was not honoredRainer Gerhards2013-11-191-0/+1
| |
| * queue: auto-adjust watermarksRainer Gerhards2013-11-191-2/+2
| |
* | help detect unavailable output target as quickly as possibleRainer Gerhards2013-11-181-0/+1
| |
* | bugfix: potential abort on startup in debug modeRainer Gerhards2013-11-171-1/+0
| | | | | | | | | | | | | | | | This depends on template type being used. The root cause was a non-necessary debug output, which were at the wrong spot (leftover from initial testing). Thanks to Pavel Levshin for alerting us and providing a patch proposal.
* | regression fix: failure if more than one template was to processRainer Gerhards2013-11-131-1/+6
| |
* | Merge branch 'master-ruleeng' into master-ruleeng-simdRainer Gerhards2013-11-131-0/+7
|\ \
| * | Merge branch 'master' into master-ruleengRainer Gerhards2013-11-071-1/+8
| |\|
| | * emit warning message if output module with msg passing mode runs asynchronouslyRainer Gerhards2013-11-071-1/+8
| | |
* | | refactor iparams to use arrayRainer Gerhards2013-11-061-31/+25
| | | | | | | | | | | | this is also prep work for a single doTransaction() output mode api
* | | cleanupRainer Gerhards2013-11-061-3/+6
| | |
* | | re-enable retry processingRainer Gerhards2013-11-061-5/+19
| | |
* | | fix previously introduced memleak with template stringsRainer Gerhards2013-11-061-1/+10
| | |
* | | refactor: structure processing in action commitRainer Gerhards2013-11-061-4/+34
| | | | | | | | | | | | prep work for retry processing
* | | Merge branch 'master-ruleeng' into master-ruleeng-simdRainer Gerhards2013-11-061-7/+1
|\| | | | | | | | | | | | | | Conflicts: doc/rsyslog_conf_actions.html
| * | Merge branch 'master' into master-ruleengRainer Gerhards2013-11-061-7/+1
| |\|
| | * cleanup unreachable codeRainer Gerhards2013-11-061-7/+1
| | |
* | | yet another fix to prevent actions from doing actual work during instance ↵Rainer Gerhards2013-11-061-8/+1
| | | | | | | | | | | | creation
* | | make "write all mark messages" default behaviour -- improves processing speedRainer Gerhards2013-11-061-10/+10
| | |
* | | refactor action disablingRainer Gerhards2013-11-061-11/+8
| | |
* | | enforce that actions can no longer "do something" on action creationRainer Gerhards2013-11-061-9/+3
| | | | | | | | | | | | | | | 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-061-6/+7
| | | | | | | | | | | | | | | This improves failover handling and makes it consistent with doc (precise handling for batches of one).
* | | re-enable bPrevWasSuspended handlingRainer Gerhards2013-11-061-1/+10
| | |
* | | re-enable main queue direct modeRainer Gerhards2013-11-051-1/+1
| | |
* | | shuffle code to be in closer proximity of related functionsRainer Gerhards2013-11-051-35/+35
| | |
* | | fix potential deadlockRainer Gerhards2013-11-051-1/+1
| | |
* | | rename for clarityRainer Gerhards2013-11-051-11/+10
| | |
* | | simplify submitToActionQ...() code pathRainer Gerhards2013-11-051-54/+18
| | |
* | | consistently use msg generation time in mark msg processingRainer Gerhards2013-11-051-5/+1
| | |
* | | refactor: simplify code pathRainer Gerhards2013-11-051-26/+14
| | |
* | | refactor bShutdownImmediate handlingRainer Gerhards2013-11-051-29/+24
| | |
* | | refactor: move pbShutdownImmediate to wti_tRainer Gerhards2013-11-051-3/+3
| | |
* | | put retry processing on hold but document what we already know about itRainer Gerhards2013-11-041-0/+14
| | |
* | | push bShutdownImmediate ptr down to commit processRainer Gerhards2013-11-041-8/+15
| | |
* | | cosmetic: keep related code togetherRainer Gerhards2013-11-041-16/+15
| | |
* | | experimentally split ruleset execution in exec and commit phaseRainer Gerhards2013-11-041-22/+47
| | |
* | | Merge branch 'master-ruleeng' into master-ruleeng-simdRainer Gerhards2013-11-041-1/+1
|\| | | | | | | | | | | | | | Conflicts: action.c
| * | fix tryResume callbackRainer Gerhards2013-11-041-5/+5
| | |
* | | refactor: move batch "unrolling" up one layerRainer Gerhards2013-11-041-134/+72
| | |
* | | fix async action queuesRainer Gerhards2013-11-031-1/+3
| | |
* | | temporarily remove bExecWhenPrevWasSuspended handlingRainer Gerhards2013-11-021-60/+7
| | | | | | | | | | | | | | | | | | | | | 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).
* | | re-enable state handling after endTransaction()Rainer Gerhards2013-11-021-8/+0
| | |
* | | refactor output side of action queue - main shotRainer Gerhards2013-11-021-290/+69
| | | | | | | | | | | | | | | this needs refinement, but basically we now do no longer rely on batches for the sub-functions.