summaryrefslogtreecommitdiffstats
path: root/action.c
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | refactor: move action resume retry counter to wti_tRainer Gerhards2013-11-011-3/+4
| |
* | some debug aids & useful commments for going forwardRainer Gerhards2013-11-011-1/+11
| |
* | refactor: move handling too-frequent tryResume == OK to wti_tRainer Gerhards2013-11-011-6/+6
| |
* | refactor: move action state to wti (as we are now on a per-thread basis)Rainer Gerhards2013-11-011-62/+64
| |
* | cosmetic: remove commented-out codeRainer Gerhards2013-11-011-2/+0
|/
* fix v8 output interface transaction begin handlingRainer Gerhards2013-10-311-12/+22
|
* call freeWrkrInstance() on worker thread terminationRainer Gerhards2013-10-291-4/+6
|
* milestone: action mutex removedRainer Gerhards2013-10-291-27/+6
| | | | | This means actions may now be called concurrently and must make provisions themselves to handle multi-threading.
* add debug output for worker actionsRainer Gerhards2013-10-291-0/+1
|
* milestone: action engine changed to partially support wrkr instance action ↵Rainer Gerhards2013-10-281-8/+13
| | | | interface
* milestone: now shuffeling wti ptr correctly down to action handlerRainer Gerhards2013-10-271-5/+5
| | | | | except if main queue is in direct mode -- this need smore work and thinking (probably via pthreads state variables, but let's see later)
* milestone: calling sequence changed so that wti is passed to many functionsRainer Gerhards2013-10-261-31/+34
|
* maintain action ids (actionNbr)Rainer Gerhards2013-10-261-4/+5
|
* experimental: make impstats return delta values where possibleRainer Gerhards2013-09-071-2/+2
|
* Merge branch 'v7-stable'Rainer Gerhards2013-09-031-1/+1
|\
| * make rsyslog use the new json-c pkgconfig file if availablehwoarang2013-09-031-1/+1
| |
* | enable shuffling of crypto parameters down through queue definitionRainer Gerhards2013-05-101-9/+6
|/
* cleanupRainer Gerhards2013-04-241-1/+0
|
* Merge branch 'v7-stable'Rainer Gerhards2013-04-121-1/+1
|\
| * bugfix: parameter action.execOnlyWhenPreviousIsSuspended was accidently of ↵Rainer Gerhards2013-04-121-1/+1
| | | | | | | | | | | | | | | | integer-type For obvious reasons, it needs to be boolean. Note that this change can break existing configurations if they circumvented the problem by using 0/1 values.
* | Merge branch 'c7' into tmpRainer Gerhards2013-04-091-3/+9
|\ \ | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac runtime/queue.c
| * | make imrelp properly terminate on system shutdownRainer Gerhards2013-04-091-3/+7
| | | | | | | | | | | | it didn't do so if it was inside a retry loop
| * | add output module interface to facilitate cooperative shutdownRainer Gerhards2013-04-081-0/+2
| |/ | | | | | | | | | | ... in more complex cases (where receiving SIGTTIN is not sufficient). See also: http://blog.gerhards.net/2013/04/rsyslog-output-plugin-wrangling.html
* | Merge branch 'v7-stable'Rainer Gerhards2013-04-081-10/+20
|\| | | | | | | | | | | Conflicts: grammar/rainerscript.c runtime/ruleset.c